You are here: Start » AVL.NET » Function Reference » Path » Path Features » 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 | |
---|---|---|---|---|---|
inPath | AvlNet.Path | Input path. | |||
outSelfIntersections | System.Collections.Generic.IList<AvlNet.Point2D> | ||||
outFirstSegmentIndices | AvlNet.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. | |||
outSecondSegmentIndices | AvlNet.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. | |||
outIsSelfIntersecting | AvlNet.NullableValue<bool> | Can be null to skip this parameter calculation. |
Function Overrides
- PathSelfIntersections(Path, IList<Point2D>)
- PathSelfIntersections(Path, IList<Point2D>, IList<Int32>, IList<Int32>, Boolean)