Method | Description | |
---|---|---|
DiffSlope ( double s1, double s2 ) : double | ||
DistancePoint2Line ( double px, double py, double x, double y, double xx, double yy ) : double | ||
DistancePoint2LineSegment ( double px, double py, double x, double y, double xx, double yy ) : double | ||
DistancePoint2Point ( double x1, double y1, double x2, double y2 ) : double | ||
IsPointInBoundingBox ( double x1, double y1, double x2, double y2, double px, double py ) : int | ||
LineSegmentIntersection ( double l1x1, double l1y1, double l1x2, double l1y2, double l2x1, double l2y1, double l2x2, double l2y2 ) : int | ||
NearestPointLine ( double px, double py, double x, double y, double xx, double yy ) : double[] | ||
SidePointOfLine ( double ax, double ay, double bx, double by, double cx, double cy ) : int |
public static DiffSlope ( double s1, double s2 ) : double | ||
s1 | double | |
s2 | double | |
return | double |
public static DistancePoint2Line ( double px, double py, double x, double y, double xx, double yy ) : double | ||
px | double | |
py | double | |
x | double | |
y | double | |
xx | double | |
yy | double | |
return | double |
public static DistancePoint2LineSegment ( double px, double py, double x, double y, double xx, double yy ) : double | ||
px | double | |
py | double | |
x | double | |
y | double | |
xx | double | |
yy | double | |
return | double |
public static DistancePoint2Point ( double x1, double y1, double x2, double y2 ) : double | ||
x1 | double | |
y1 | double | |
x2 | double | |
y2 | double | |
return | double |
public static IsPointInBoundingBox ( double x1, double y1, double x2, double y2, double px, double py ) : int | ||
x1 | double | |
y1 | double | |
x2 | double | |
y2 | double | |
px | double | |
py | double | |
return | int |
public static LineSegmentIntersection ( double l1x1, double l1y1, double l1x2, double l1y2, double l2x1, double l2y1, double l2x2, double l2y2 ) : int | ||
l1x1 | double | |
l1y1 | double | |
l1x2 | double | |
l1y2 | double | |
l2x1 | double | |
l2y1 | double | |
l2x2 | double | |
l2y2 | double | |
return | int |
public static NearestPointLine ( double px, double py, double x, double y, double xx, double yy ) : double[] | ||
px | double | |
py | double | |
x | double | |
y | double | |
xx | double | |
yy | double | |
return | double[] |
public static SidePointOfLine ( double ax, double ay, double bx, double by, double cx, double cy ) : int | ||
ax | double | |
ay | double | |
bx | double | |
by | double | |
cx | double | |
cy | double | |
return | int |