GH_GraphicsUtilDistanceS Method |
Compute the squared distance between two points.
Namespace:
Grasshopper.GUI
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static float DistanceS(
PointF a,
PointF b
)
Public Shared Function DistanceS (
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