Point3fDistanceToSquared Method |
Computes the squared distance between two points.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 7.14
Syntax public double DistanceToSquared(
Point3f other
)
Public Function DistanceToSquared (
other As Point3f
) As Double
Parameters
- other
- Type: Rhino.GeometryPoint3f
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