Click or drag to resize

Vector2fUnitize Method

Unitizes the vector in place. A unit vector has length 1 unit.

An invalid or zero length vector cannot be unitized.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.4
Syntax
public bool Unitize()

Return Value

Type: Boolean
true on success or false on failure.
See Also