You are here: Start » AVL.NET » AVL.PathSelfIntersections Method

AVL.PathSelfIntersections Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void PathSelfIntersections(
	AvlNet.Path inPath,
	out AvlNet.Point2D[] outSelfIntersections,
	out int[] outFirstSegmentIndices,
	out int[] outSecondSegmentIndices,
	out bool outIsSelfIntersecting
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
outSelfIntersectionsAvlNet.Point2D
outFirstSegmentIndicesintFirst indices of the segments of the path which generate found intersection points
outSecondSegmentIndicesintSecond indices of the segments of the path which generate found intersection points
outIsSelfIntersectingbool

See also