| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | Vector4d(double
the x coordinate x, double the y coordinate y, double the z coordinate z, double the w coordinate w)Constructs and initializes a Vector4d from the specified xyzw coordinates. |
| public | Vector4d(double[]
the array of length 4 containing xyzw in order v)Constructs and initializes a Vector4d from the coordinates contained in the array. |
| public | |
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final double | |
| public final double | |
| public final double | |
| public final double | |
| public final void | |
| public final void | |
| public final void |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| Vector4d | back to summary |
|---|---|
| public Vector4d(double x, double y, double z, double w) Constructs and initializes a Vector4d from the specified xyzw coordinates.
| |
| Vector4d | back to summary |
|---|---|
| public Vector4d(double[] v) Constructs and initializes a Vector4d from the coordinates contained in the array.
| |
| Vector4d | back to summary |
|---|---|
| public Vector4d(Vector4d v1) Constructs and initializes a Vector4d from the specified Vector4d.
| |
| Vector4d | back to summary |
|---|---|
| public Vector4d(Vector4f v1) Constructs and initializes a Vector4d from the specified Vector4f.
| |
| Vector4d | back to summary |
|---|---|
| public Vector4d(Tuple4f t1) Constructs and initializes a Vector4d from the specified Tuple4f.
| |
| Vector4d | back to summary |
|---|---|
| public Vector4d(Tuple4d t1) Constructs and initializes a Vector4d from the specified Tuple4d.
| |
| Vector4d | back to summary |
|---|---|
| public Vector4d(Tuple3d t1) Constructs and initializes a Vector4d from the specified Tuple3d. The x,y,z components of this vector are set to the corresponding components of tuple t1. The w component of this vector is set to 0.
| |
| Vector4d | back to summary |
|---|---|
| public Vector4d() Constructs and initializes a Vector4d to (0,0,0,0). | |
| angle | back to summary |
|---|---|
| public final double angle(Vector4d v1) Returns the (4-space) angle in radians between this vector and the vector parameter; the return value is constrained to the range [0,PI].
| |
| dot | back to summary |
|---|---|
| public final double dot(Vector4d v1) Returns the dot product of this vector and vector v1.
| |
| length | back to summary |
|---|---|
| public final double length() Returns the length of this vector.
| |
| lengthSquared | back to summary |
|---|---|
| public final double lengthSquared() Returns the squared length of this vector.
| |
| normalize | back to summary |
|---|---|
| public final void normalize(Vector4d v1) Sets the value of this vector to the normalization of vector v1.
| |
| normalize | back to summary |
|---|---|
| public final void normalize() Normalizes this vector in place. | |
| set | back to summary |
|---|---|
| public final void set(Tuple3d t1) Sets the x,y,z components of this vector to the corresponding components of tuple t1. The w component of this vector is set to 0.
| |