Computes the squared distance between two points.
RhinoCommon (in RhinoCommon.dll)
public double DistanceToSquared(
Public Function DistanceToSquared (
other As Point2f
) As Double
- Type: Rhino.GeometryPoint2f
Other point for distance measurement.
The squared length of the line between this and the other point; or 0 if any of the points is not valid.