Polygon..::..LineLineIntersection Method

Detemines if Two Lines intersect. Outputs intersection point if they do. If two lines are colinear, they are not considered intersecting.

Namespace:  TVGL
Assembly:  TessellationAndVoxelizationGeometryLibraryUniversal (in TessellationAndVoxelizationGeometryLibraryUniversal.dll)

Syntax


public bool LineLineIntersection(
	Line line1,
	Line line2,
	out Point intersectionPoint,
	bool considerCollinearOverlapAsIntersect
)
Public Function LineLineIntersection ( _
	line1 As Line, _
	line2 As Line, _
	<OutAttribute> ByRef intersectionPoint As Point, _
	considerCollinearOverlapAsIntersect As Boolean _
) As Boolean
public:
bool^ LineLineIntersection(
	Line^ line1, 
	Line^ line2, 
	[OutAttribute] Point^% intersectionPoint, 
	bool^ considerCollinearOverlapAsIntersect
)

Parameters

line1
Type: TVGL..::..Line
line2
Type: TVGL..::..Line
intersectionPoint
Type: TVGL..::..Point%
considerCollinearOverlapAsIntersect
Type: Boolean

Return Value