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

AVL.PathSegmentIntersections Method

Computes the common points of a path and a segment.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void PathSegmentIntersections(
	AvlNet.Path inPath,
	AvlNet.Segment2D inSegment,
	out AvlNet.Point2D[] outIntersectionPoints,
	out int[] outSegmentIndices
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
inSegmentAvlNet.Segment2DInput segment.
outIntersectionPointsAvlNet.Point2DIntersections between the path and the segment.
outSegmentIndicesintIndices of the segments of the path which generate found intersection points

See also