public class NonRobustLineIntersector extends LineIntersector
LineIntersector.COLLINEAR, COLLINEAR_INTERSECTION, DO_INTERSECT, DONT_INTERSECT, inputLines, intLineIndex, intPt, isProper, NO_INTERSECTION, pa, pb, POINT_INTERSECTION, result| Constructor and Description |
|---|
NonRobustLineIntersector() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
computeIntersect(Point p1,
Point p2,
Point p3,
Point p4) |
void |
computeIntersection(Point p,
Point p1,
Point 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, getScale, hasIntersection, isCollinear, isEndPoint, isInteriorIntersection, isInteriorIntersection, isIntersection, isProper, nonRobustComputeEdgeDistance, setScale, toStringpublic static boolean isSameSignAndNonZero(double a,
double b)
protected int computeIntersect(Point p1, Point p2, Point p3, Point p4)
computeIntersect in class LineIntersectorpublic void computeIntersection(Point p, Point p1, Point p2)
LineIntersectorp.computeIntersection in class LineIntersectorCopyright © 2015 Revolution Systems Inc.. All rights reserved.