
public class SegmentIntersection extends Object
| Constructor and Description |
|---|
SegmentIntersection() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
intersection(double pXA,
double pYA,
double pXB,
double pYB,
double pXC,
double pYC,
double pXD,
double pYD,
PointL pIntersection) |
public static boolean intersection(double pXA,
double pYA,
double pXB,
double pYB,
double pXC,
double pYC,
double pXD,
double pYD,
PointL pIntersection)
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