Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Distance Metrics » PointSequenceDistances
PointSequenceDistances
Measures the distances between consecutive points of a point sequence.
Syntax
C++
C#
void avl::PointSequenceDistances ( const atl::Array<avl::Point2D>& inPoints, const bool inCyclic, atl::real inResolution, atl::Array<atl::real>& outDistances, atl::Optional<atl::Array<avl::Segment2D>&> outConnectingSegments = atl::NIL )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inPoints | const Array<Point2D>& | |||
![]() |
inCyclic | const bool | |||
![]() |
inResolution | real | 0.0 - ![]() |
1.0f | Number of real-world units per one pixel |
![]() |
outDistances | Array<real>& | |||
![]() |
outConnectingSegments | Optional<Array<Segment2D>&> | NIL |



