Click or drag to resize

Point3fDistanceToSquared Method

Computes the squared distance between two points.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public double DistanceToSquared(
	Point3f other
)

Parameters

other
Type: Rhino.GeometryPoint3f
Other point for distance measurement.

Return Value

Type: Double
The squared length of the line between this and the other point; or 0 if any of the points is not valid.
See Also