You are here: Start » AVL.NET » Function Reference » Path » Path Features » AVL.PathSelfIntersections

AVL.PathSelfIntersections

Checks if a path has any self-intersections and computes all of them.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PathSelfIntersections
(
	AvlNet.Path inPath,
	IList<AvlNet.Point2D> outSelfIntersections,
	IList<int> outFirstSegmentIndices,
	IList<int> outSecondSegmentIndices,
	out bool outIsSelfIntersecting
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
outSelfIntersectionsSystem.Collections.Generic.IList<AvlNet.Point2D>
outFirstSegmentIndicesSystem.Collections.Generic.IList<int>First indices of the segments of the path which generate found intersection points.
outSecondSegmentIndicesSystem.Collections.Generic.IList<int>Second indices of the segments of the path which generate found intersection points.
outIsSelfIntersectingbool

Function Overrides

See also