GH_GraphicsUtilDistance Method |
Compute the distance between two points.
Namespace:
Grasshopper.GUI
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static float Distance(
PointF a,
PointF b
)
Public Shared Function Distance (
a As PointF,
b As PointF
) As Single
Parameters
- a
- Type: System.DrawingPointF
First point. - b
- Type: System.DrawingPointF
Second point.
Return Value
Type:
SingleSee Also