You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Distance Metrics » AVL.PointSequenceDistances

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
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>
inCyclicbool
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistancesSystem.Collections.Generic.IList<float>
outDistanceSumAvlNet.NullableValue<float> Can be null to skip this parameter calculation.
outConnectingSegmentsAvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Segment2D>> Can be null to skip this parameter calculation.

Function Overrides

See also