Package javax.vecmath

Class Vector4d

java.lang.Object
javax.vecmath.Tuple4d
javax.vecmath.Vector4d
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Vector4d
extends Tuple4d
implements java.io.Serializable
See Also:
Serialized Form
  • Constructor Details

    • Vector4d

      public Vector4d​(double double1, double double2, double double3, double double4)
    • Vector4d

      public Vector4d​(double[] doubleArray)
    • Vector4d

      public Vector4d​(Vector4d vector4d)
    • Vector4d

      public Vector4d​(Vector4f vector4f)
    • Vector4d

      public Vector4d​(Tuple4f tuple4f)
    • Vector4d

      public Vector4d​(Tuple4d tuple4d)
    • Vector4d

      public Vector4d​(Tuple3d tuple3d)
    • Vector4d

      public Vector4d()
  • Method Details

    • set

      public final void set​(Tuple3d tuple3d)
    • length

      public final double length()
    • lengthSquared

      public final double lengthSquared()
    • dot

      public final double dot​(Vector4d vector4d)
    • normalize

      public final void normalize​(Vector4d vector4d)
    • normalize

      public final void normalize()
    • angle

      public final double angle​(Vector4d vector4d)