Point2fDistanceToSquared Method |
Computes the squared distance between two points.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 7.14
Syntax public double DistanceToSquared(
Point2f other
)
Public Function DistanceToSquared (
other As Point2f
) As Double
Parameters
- other
- Type: Rhino.GeometryPoint2f
Other point for distance measurement.
Return Value
Type:
DoubleThe squared length of the line between this and the other point; or 0 if any of the points is not valid.
See Also