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

AVL.PathLineIntersections Method

Computes the common points of a path and a line.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void PathLineIntersections(
	AvlNet.Path inPath,
	AvlNet.Line2D inLine,
	out AvlNet.Point2D[] outIntersectionPoints,
	out int[] outSegmentIndices
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
inLineAvlNet.Line2DInput line.
outIntersectionPointsAvlNet.Point2DIntersections between the path and the line.
outSegmentIndicesintIndices of the segments of the path which generate found intersection points

Errors

Error type Description
DomainError Indefinite line on input in PathLineIntersections.

See also