Search
Utilities.DistanceAlongLength Method
See Also
 





Returns the distance from the specified point to the start of the specified path along the path's length.

Namespace: MindFusion
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public static double DistanceAlongLength (
    Point point,
    IList<Point> segments
)

Visual Basic  Copy Code

Public Shared Function DistanceAlongLength( _
    point As Point, _
    segments As IList(Of Point) _
) As Double

 Parameters

point

A Point whose distance to the path start to calculate.

segments

A list of points specifying the path.

 Return Value

A double value specifying distance from the point to the path origin.

 See Also