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

AVL.SegmentArrayIntersections Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SegmentArrayIntersections(
	AvlNet.Segment2D[] inSegments,
	out AvlNet.Point2D[] outIntersectionPoints,
	out int[] outFirstIntersectionIndices,
	out int[] outSecondIntersectionIndices,
	out AvlNet.Segment2D[] outOverlapSegments,
	out int[] outFirstOverlapIndices,
	out int[] outSecondOverlapIndices
)

Parameters

Name Type Range Default Description
inSegmentsAvlNet.Segment2DInput segments.
outIntersectionPointsAvlNet.Point2DIntersection points.
outFirstIntersectionIndicesintFirst indices of the input segments which corresponds to the intersection points.
outSecondIntersectionIndicesintSecond indices of the input segments which corresponds to the intersection points.
outOverlapSegmentsAvlNet.Segment2DOverlap segments.
outFirstOverlapIndicesintFirst indices of the input segments which corresponds to the overlap segments.
outSecondOverlapIndicesintSecond 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