Back to Aurora Vision Library Lite website

You are here: Start » Path » Path Features » PathEndpoints

PathEndpoints


Header: AVL.h
Namespace: avl

Returns the two endpoints of a path.

Syntax

void avl::PathEndpoints
(
	const avl::Path& inPath,
	avl::Point2D& outFirstPoint,
	avl::Point2D& outLastPoint
)

Parameters

Name Type Default Description
Input value inPath const Path& Input path
Output value outFirstPoint Point2D&
Output value outLastPoint Point2D&

Errors

List of possible exceptions:

Error type Description
DomainError Empty path on input in PathEndpoints.