You are here: Start » AVL.NET » Function Reference » Path » Path Combinators » AVL.PathPathIntersections

AVL.PathPathIntersections

Computes the common points of two paths.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PathPathIntersections
(
	AvlNet.Path inPath1,
	AvlNet.Path inPath2,
	IList<AvlNet.Point2D> outIntersectionPoints,
	NullableRef<List<int>> outSegmentIndices1,
	NullableRef<List<int>> outSegmentIndices2
)

Parameters

Name Type Range Default Description
inPath1AvlNet.PathInput path.
inPath2AvlNet.PathInput path.
outIntersectionPointsSystem.Collections.Generic.IList<AvlNet.Point2D>Intersections between the input paths.
outSegmentIndices1AvlNet.NullableRef<System.Collections.Generic.List<int>>Indices of the segments of the first path which generate found intersection points. Can be null to skip this parameter calculation.
outSegmentIndices2AvlNet.NullableRef<System.Collections.Generic.List<int>>Indices of the segments of the second path which generate found intersection points. Can be null to skip this parameter calculation.

Description

The operation computes an array of the intersection points of two given paths.

Examples

PathPathIntersections run on the sample paths. The resulting outIntersectionPoints were drawn onto the input paths.

Function Overrides

See also