Back to Adaptive Vision Library website

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

PathSegmentIntersections


Computes the common points of a path and a segment.

Header:AVL.h

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
inPath const Path& Input path
inSegment const Segment2D& Input segment
outIntersectionPoints Array<Point2D>& Intersections between the path and the segment
outSegmentIndices Optional<Array<int>&> NIL Indices of the segments of the path which generate found intersection points