Back to Aurora Vision Library website

You are here: Start » Function Reference » Path » Path Combinators » PathSegmentIntersections

PathSegmentIntersections


Header: AVL.h
Namespace: avl
Module: FoundationPro

Computes the common points of a path and a segment.

Syntax

C++
C#
 
void avl::PathSegmentIntersections
(
	const avl::Path& inPath,
	const avl::Segment2D& inSegment,
	atl::Array<avl::Point2D>& outIntersectionPoints,
	atl::Optional<atl::Array<int>&> outSegmentIndices = atl::NIL
)

Parameters

Name Type Default Description
Input value inPath const Path& Input path
Input value inSegment const Segment2D& Input segment
Output value outIntersectionPoints Array<Point2D>& Intersections between the path and the segment
Output value outSegmentIndices Optional<Array<int>&> NIL Indices of the segments of the path which generate found intersection points

Optional Outputs

The computation of following outputs can be switched off by passing value atl::NIL to these parameters: outSegmentIndices.

Read more about Optional Outputs.