public class NonRobustLineIntersector extends LineIntersector
LineIntersector
.COLLINEAR, COLLINEAR_INTERSECTION, DO_INTERSECT, DONT_INTERSECT, inputLines, intLineIndex, intPt, isProper, NO_INTERSECTION, pa, pb, POINT_INTERSECTION, precisionModel, result
Constructor and Description |
---|
NonRobustLineIntersector() |
Modifier and Type | Method and Description |
---|---|
protected int |
computeIntersect(Coordinate p1,
Coordinate p2,
Coordinate p3,
Coordinate p4) |
void |
computeIntersection(Coordinate p,
Coordinate p1,
Coordinate p2)
Compute the intersection of a point p and the line p1-p2.
|
static boolean |
isSameSignAndNonZero(double a,
double b) |
computeEdgeDistance, computeIntersection, computeIntLineIndex, computeIntLineIndex, getEdgeDistance, getEndpoint, getIndexAlongSegment, getIntersection, getIntersectionAlongSegment, getIntersectionNum, hasIntersection, isCollinear, isEndPoint, isInteriorIntersection, isInteriorIntersection, isIntersection, isProper, nonRobustComputeEdgeDistance, setMakePrecise, setPrecisionModel, toString
public static boolean isSameSignAndNonZero(double a, double b)
public void computeIntersection(Coordinate p, Coordinate p1, Coordinate p2)
LineIntersector
p
.computeIntersection
in class LineIntersector
protected int computeIntersect(Coordinate p1, Coordinate p2, Coordinate p3, Coordinate p4)
computeIntersect
in class LineIntersector
Copyright © 2016. All rights reserved.