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,
	NullableRef<List<int>> outFirstSegmentIndices,
	NullableRef<List<int>> outSecondSegmentIndices,
	NullableValue<bool> outIsSelfIntersecting
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
outSelfIntersectionsSystem.Collections.Generic.IList<AvlNet.Point2D>
outFirstSegmentIndicesAvlNet.NullableRef<System.Collections.Generic.List<int>>First indices of the segments of the path which generate found intersection points. Can be null to skip this parameter calculation.
outSecondSegmentIndicesAvlNet.NullableRef<System.Collections.Generic.List<int>>Second indices of the segments of the path which generate found intersection points. Can be null to skip this parameter calculation.
outIsSelfIntersectingAvlNet.NullableValue<bool> Can be null to skip this parameter calculation.

Function Overrides

See also