Search
Utilities.DistToLineSegment Method
See Also
 






Calculates distance from the specified point to the specified line segment

Namespace: MindFusion
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public static double DistToLineSegment (
    Point pt,
    Point p1,
    Point p2
)

Visual Basic  Copy Code

Public Shared Function DistToLineSegment( _
    pt As Point, _
    p1 As Point, _
    p2 As Point _
) As Double

 Parameters

pt

p1

p2

 Return Value

 See Also