-
public class SegmentIntersectionA class dedicated to the computation of 2D segments intersection points
-
-
Method Summary
Modifier and Type Method Description static booleanintersection(double pXA, double pYA, double pXB, double pYB, double pXC, double pYC, double pXD, double pYD, PointL pIntersection)-
-
Method Detail
-
intersection
static boolean intersection(double pXA, double pYA, double pXB, double pYB, double pXC, double pYC, double pXD, double pYD, PointL pIntersection)
- Parameters:
pXA- Starting point of Segment 1 [AB]pYA- Starting point of Segment 1pXB- Ending point of Segment 1pYB- Ending point of Segment 1pXC- Starting point of Segment 2 [CD]pYC- Starting point of Segment 2pXD- Ending point of Segment 2pYD- Ending point of Segment 2pIntersection- Intersection point as output; can be null
-
-
-
-