Programming API Reference: EduGraf.Tensors

Class public Vector2

: Coordinate2
This represents a displacement in 2d-space.
  • public static readonly Vector2 Zero
  • public static readonly Vector2 UnitX
  • public static readonly Vector2 UnitY
  • Method public float Length()

    Return the euclidean length of this vector.

      Method public static float Dot()

      Ditto.

      Method public static Vector2 Normalize()

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

      Operator public static Vector2 +()

      Operator public static Vector2 -()

      Operator public static Vector2 *()

      Operator public static Vector2 *()

      Operator public static Vector2 *()