Nexus.Normal3D.Length C# (CSharp) Метод

Length() публичный Метод

public Length ( ) : float
Результат float
        public float Length()
        {
            float lengthSq = ((this.X * this.X) + (this.Y * this.Y)) + (this.Z * this.Z);
            return (float)System.Math.Sqrt(lengthSq);
        }

Usage Example

Пример #1
0
 public static Normal3D Normalize(Normal3D v)
 {
     return v / v.Length();
 }
All Usage Examples Of Nexus.Normal3D::Length