DiagramLite Programmer's Guide
Utilities.DistanceToSegment Method
See Also
 





Returns the distance from a point to a line segment.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public static double DistanceToSegment (
    Point p,
    Point a,
    Point b
)

Visual Basic  Copy Code

Public Shared Function DistanceToSegment( _
    p As Point, _
    a As Point, _
    b As Point _
) As Double

 Parameters

p

a

b

 Return Value

 See Also

Utilities Members
Utilities Class
MindFusion.Diagramming Namespace