Package org.locationtech.jts.algorithm
Class RobustLineIntersector
- java.lang.Object
-
- org.locationtech.jts.algorithm.LineIntersector
-
- org.locationtech.jts.algorithm.RobustLineIntersector
-
public class RobustLineIntersector extends LineIntersector
A robust version ofLineIntersector
.- Version:
- 1.7
-
-
Field Summary
-
Fields inherited from class org.locationtech.jts.algorithm.LineIntersector
COLLINEAR, COLLINEAR_INTERSECTION, DO_INTERSECT, DONT_INTERSECT, NO_INTERSECTION, POINT_INTERSECTION
-
-
Constructor Summary
Constructors Constructor Description RobustLineIntersector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
computeIntersection(Coordinate p, Coordinate p1, Coordinate p2)
Compute the intersection of a point p and the line p1-p2.-
Methods inherited from class org.locationtech.jts.algorithm.LineIntersector
computeEdgeDistance, computeIntersection, getEdgeDistance, getEndpoint, getIndexAlongSegment, getIntersection, getIntersectionAlongSegment, getIntersectionNum, hasIntersection, isInteriorIntersection, isInteriorIntersection, isIntersection, isProper, nonRobustComputeEdgeDistance, setMakePrecise, setPrecisionModel, toString
-
-
-
-
Method Detail
-
computeIntersection
public void computeIntersection(Coordinate p, Coordinate p1, Coordinate p2)
Description copied from class:LineIntersector
Compute 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:
computeIntersection
in classLineIntersector
-
-