Returns the norm (length2).
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.7.0.0 (1.7.0.9486)
Syntax
| C# |
|---|
public double Norm { get; } |
| Visual Basic |
|---|
Public ReadOnly Property Norm As Double Get |
| Visual C++ |
|---|
public: property double Norm { double get (); } |
Field Value
The norm.
Remarks
The norm of a quaternion is calculated with the following formula:
N(q) = w2 + x2 + y2 + z2