P_Rhino_Geometry_Vector3d_SquareLength - mcneel/rhinocommon-api-docs GitHub Wiki

Vector3d.SquareLength Property

Computes the squared length (or magnitude, or size) of this vector. This is an application of Pythagoras' theorem. While the Length property checks for input validity, this property does not. You should check validity in advance, if this vector can be invalid.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public double SquareLength { get; }

VB

Public ReadOnly Property SquareLength As Double
	Get

Property Value

Type: Double

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Vector3d Structure
Rhino.Geometry Namespace

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