CADability dotNET
Same as SegmentIntersection(GeoPoint2D, GeoPoint2D, GeoPoint2D, GeoPoint2D), but returns true only if the intersection happens in the inside of the two segments, not at the endpoints

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static bool SegmentInnerIntersection(
	GeoPoint2D p0,
	GeoPoint2D p1,
	GeoPoint2D p2,
	GeoPoint2D p3
)
Visual Basic
Public Shared Function SegmentInnerIntersection ( _
	p0 As GeoPoint2D, _
	p1 As GeoPoint2D, _
	p2 As GeoPoint2D, _
	p3 As GeoPoint2D _
) As Boolean
Visual C++
public:
static bool SegmentInnerIntersection(
	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

Return Value

true if segment intersection

See Also