CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Returns true, if the two line segments given by (p0,p1) and (p2,p3) have a common intersection. The intersection
point is noct calculated. This Method is intended as a fast check for intersection or not. Returns true, if
one segment starts or ends on the other segment.
Namespace: CADabilityAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
public static bool SegmentIntersection( GeoPoint2D p0, GeoPoint2D p1, GeoPoint2D p2, GeoPoint2D p3 ) |
Visual Basic |
---|
Public Shared Function SegmentIntersection ( _ p0 As GeoPoint2D, _ p1 As GeoPoint2D, _ p2 As GeoPoint2D, _ p3 As GeoPoint2D _ ) As Boolean |
Visual C++ |
---|
public: static bool SegmentIntersection( GeoPoint2D p0, GeoPoint2D p1, GeoPoint2D p2, GeoPoint2D p3 ) |
Parameters
- p0
- Type: CADability..::..GeoPoint2D
first line startpoint
- p1
- Type: CADability..::..GeoPoint2D
first line endpoint
- p2
- Type: CADability..::..GeoPoint2D
second line startpoint
- p3
- Type: CADability..::..GeoPoint2D
second line endpoint