com.vividsolutions.jts.algorithm
Class NonRobustLineIntersector
public class NonRobustLineIntersector
A non-robust version of .
COLLINEAR, DONT_INTERSECT, DO_INTERSECT, inputLines, intLineIndex, intPt, isProper, pa, pb, precisionModel, result |
computeEdgeDistance, computeIntLineIndex, computeIntLineIndex, computeIntersect, computeIntersection, computeIntersection, getEdgeDistance, getIndexAlongSegment, getIntersection, getIntersectionAlongSegment, getIntersectionNum, hasIntersection, isCollinear, isEndPoint, isInteriorIntersection, isInteriorIntersection, isIntersection, isProper, nonRobustComputeEdgeDistance, setMakePrecise, setPrecisionModel, toString |
NonRobustLineIntersector
public NonRobustLineIntersector()
isSameSignAndNonZero
public static boolean isSameSignAndNonZero(double a,
double b)- true if both numbers are positive or if both numbers are negative.
Returns false if both numbers are zero.