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

AVL.PathSegmentIntersections

Computes the common points of a path and a segment.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
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.Point2D[]Intersections between the path and the segment.
outSegmentIndicesint[]Indices of the segments of the path which generate found intersection points

See also