Programming API Reference: EduGraf.Tensors

Class public Vector4

: Coordinate4
This represents a displacement in 4d-space, i.e. homogeneous coordinates.
  • public static readonly Vector4 Zero
  • public static readonly Vector4 UnitX
  • public static readonly Vector4 UnitY
  • public static readonly Vector4 UnitZ
  • public static readonly Vector4 UnitW
  • Property public Vector3 Xyz { get }: Get this vector without the homogeneous coordinate.

    Method public float Length()

    Return the euclidean length of this vector.

      Method public static float Dot()

      Ditto.

      Method public static Vector4 Normalize()

      Return a new vector in the same direction with length 1.

      Operator public static Vector4 -()

      Operator public static Vector4 +()

      Operator public static Vector4 -()

      Operator public static Vector4 *()

      Operator public static Vector4 *()

      Operator public static Vector4 *()

      Operator public static Vector4 *()