Properties_T_Rhino_Geometry_Vector2d - mcneel/rhinocommon-api-docs GitHub Wiki

Vector2d Properties

The Vector2d type exposes the following members.

Properties

 

Name Description
Public property IsValid Gets a value indicating whether this vector is valid. A valid vector must be formed of valid component values for x, y and z.
Public property Length Computes the length (or magnitude, or size) of this vector. This is an application of Pythagoras' theorem.
Public propertyStatic member Unset Gets the value of the vector with components set as RhinoMath.UnsetValue,RhinoMath.UnsetValue.
Public property X Gets or sets the X (first) component of this vector.
Public property Y Gets or sets the Y (second) component of this vector.
Public propertyStatic member Zero Gets the value of the vector with components 0,0.
  Back to Top

See Also

Reference

Vector2d Structure
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️