Search
CommonUtils.distToLineSegment Method
See Also
 






Calculates distance from the specified point to the specified line segment.

Namespace: com.mindfusion.common
File: com.mindfusion.common

 Syntax

Java  Copy Code

public static float distToLineSegment (
    Point2D pt,
    Point2D p1,
    Point2D p2
)

 Parameters

pt

p1

p2

 Return Value

 See Also