Search
Utilities.DistToPolyline Method (Point, IList, Int32, Int32@)
See Also
 






Calculates the shortest distance from the specified point to the specified polyline, also returning the index of the segment the point is closest to.

Namespace: MindFusion
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public static double DistToPolyline (
    Point pt,
    IList line_pts,
    int nPoints,
    ref int segmNum
)

Visual Basic  Copy Code

Public Shared Function DistToPolyline( _
    pt As Point, _
    line_pts As IList, _
    nPoints As Integer, _
    ByRef segmNum As Integer _
) As Double

 Parameters

pt

line_pts

nPoints

segmNum

 Return Value

 See Also