CADability dotNET
Returns true if the line segments p1->p2 and p3->p4 have an inner intersection, i.e. an intersection point inside the bounds of the line segment. Returns false otherwise, returns false if the intersection point coincides with one of the two lines

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

Syntax

C#
public static bool InnerIntersection(
	GeoPoint2D p1,
	GeoPoint2D p2,
	GeoPoint2D p3,
	GeoPoint2D p4
)
Visual Basic
Public Shared Function InnerIntersection ( _
	p1 As GeoPoint2D, _
	p2 As GeoPoint2D, _
	p3 As GeoPoint2D, _
	p4 As GeoPoint2D _
) As Boolean
Visual C++
public:
static bool InnerIntersection(
	GeoPoint2D p1, 
	GeoPoint2D p2, 
	GeoPoint2D p3, 
	GeoPoint2D p4
)

Parameters

p1
Type: CADability..::..GeoPoint2D
startpoint of the first line segment
p2
Type: CADability..::..GeoPoint2D
endpoint of the first line segment
p3
Type: CADability..::..GeoPoint2D
startpoint of the second line segment
p4
Type: CADability..::..GeoPoint2D
endpoint of the second line segment

Return Value

See Also