You are here: Start » AVL.NET » Function Reference » Path » Path Combinators » 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,
	IList<AvlNet.Point2D> outIntersectionPoints,
	NullableRef<List<int>> outSegmentIndices
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
inSegmentAvlNet.Segment2DInput segment.
outIntersectionPointsSystem.Collections.Generic.IList<AvlNet.Point2D>Intersections between the path and the segment.
outSegmentIndicesAvlNet.NullableRef<System.Collections.Generic.List<int>>Indices of the segments of the path which generate found intersection points. Can be null to skip this parameter calculation.

Function Overrides

See also