You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Intersections » AVL.SegmentArrayIntersections

AVL.SegmentArrayIntersections

Computes a common points or segment of any segments from the set.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SegmentArrayIntersections
(
	IList<AvlNet.Segment2D> inSegments,
	IList<AvlNet.Point2D> outIntersectionPoints,
	IList<int> outFirstIntersectionIndices,
	IList<int> outSecondIntersectionIndices,
	IList<AvlNet.Segment2D> outOverlapSegments,
	IList<int> outFirstOverlapIndices,
	IList<int> outSecondOverlapIndices
)

Parameters

Name Type Range Default Description
inSegmentsSystem.Collections.Generic.IList<AvlNet.Segment2D>Input segments.
outIntersectionPointsSystem.Collections.Generic.IList<AvlNet.Point2D>Intersection points.
outFirstIntersectionIndicesSystem.Collections.Generic.IList<int>First indices of the input segments which corresponds to the intersection points.
outSecondIntersectionIndicesSystem.Collections.Generic.IList<int>Second indices of the input segments which corresponds to the intersection points.
outOverlapSegmentsSystem.Collections.Generic.IList<AvlNet.Segment2D>Overlap segments.
outFirstOverlapIndicesSystem.Collections.Generic.IList<int>First indices of the input segments which corresponds to the overlap segments.
outSecondOverlapIndicesSystem.Collections.Generic.IList<int>Second indices of the input segments which corresponds to the overlap segments.

Examples

SegmentArrayIntersections performed on segments.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

See also