You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Distance Metrics » AVL.PointSequenceDistances
Measures the distances between consecutive points of a point sequence.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void PointSequenceDistances ( IList<AvlNet.Point2D> inPoints, bool inCyclic, float inResolution, IList<float> outDistances, NullableValue<float> outDistanceSum, NullableRef<List<AvlNet.Segment2D>> outConnectingSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoints | System.Collections.Generic.IList<AvlNet.Point2D> | ||||
inCyclic | bool | ||||
inResolution | float | <0.0f, INF> | 1.0f | Number of real-world units per one pixel. Default value: 1.0f. | |
outDistances | System.Collections.Generic.IList<float> | ||||
outDistanceSum | AvlNet.NullableValue<float> | Can be null to skip this parameter calculation. | |||
outConnectingSegments | AvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Segment2D>> | Can be null to skip this parameter calculation. |
Function Overrides
- PointSequenceDistances(IList<Point2D>, Boolean, Single, IList<Single>)
- PointSequenceDistances(IList<Point2D>, Boolean, Single, IList<Single>, Single, IList<Segment2D>)