Class RobustLineIntersector
java.lang.Object
org.locationtech.jts.algorithm.LineIntersector
org.locationtech.jts.algorithm.RobustLineIntersector
A robust version of
LineIntersector.- Version:
- 1.7
-
Field Summary
Fields inherited from class LineIntersector
COLLINEAR, COLLINEAR_INTERSECTION, DO_INTERSECT, DONT_INTERSECT, inputLines, intLineIndex, intPt, isProper, NO_INTERSECTION, pa, pb, POINT_INTERSECTION, precisionModel, result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intcomputeIntersect(Coordinate p1, Coordinate p2, Coordinate q1, Coordinate q2) voidcomputeIntersection(Coordinate p, Coordinate p1, Coordinate p2) Compute the intersection of a point p and the line p1-p2.Methods inherited from class LineIntersector
computeEdgeDistance, computeIntersection, computeIntLineIndex, computeIntLineIndex, getEdgeDistance, getEndpoint, getIndexAlongSegment, getIntersection, getIntersectionAlongSegment, getIntersectionNum, hasIntersection, isCollinear, isEndPoint, isInteriorIntersection, isInteriorIntersection, isIntersection, isProper, nonRobustComputeEdgeDistance, setMakePrecise, setPrecisionModel, toString
-
Constructor Details
-
RobustLineIntersector
public RobustLineIntersector()
-
-
Method Details
-
computeIntersection
Description copied from class:LineIntersectorCompute the intersection of a point p and the line p1-p2. This function computes the boolean value of the hasIntersection test. The actual value of the intersection (if there is one) is equal to the value ofp.- Specified by:
computeIntersectionin classLineIntersector
-
computeIntersect
- Specified by:
computeIntersectin classLineIntersector
-