You are here: Start » AVL.NET » Function Reference » Path » Path Features » AVL.PathEndpoints

AVL.PathEndpoints

Returns the two endpoints of a path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PathEndpoints
(
	AvlNet.Path inPath,
	out AvlNet.Point2D outFirstPoint,
	out AvlNet.Point2D outLastPoint
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
outFirstPointAvlNet.Point2D
outLastPointAvlNet.Point2D

Errors

List of possible exceptions:

Error type Description
DomainError Empty path on input in PathEndpoints.

See also