You are here: Start » AVL.NET » AVL.PathLineIntersections
Computes the common points of a path and a line.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void PathLineIntersections ( AvlNet.Path inPath, AvlNet.Line2D inLine, IList<AvlNet.Point2D> outIntersectionPoints, IList<int> outSegmentIndices )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPath | AvlNet.Path | Input path. | |||
inLine | AvlNet.Line2D | Input line. | |||
outIntersectionPoints | System.Collections.Generic.IList<AvlNet.Point2D> | Intersections between the path and the line. | |||
outSegmentIndices | System.Collections.Generic.IList<int> | Indices of the segments of the path which generate found intersection points. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite line on input in PathLineIntersections. |