Modifier and Type | Method and Description |
---|---|
double |
Vector3d.angle(Vector3d v1)
Returns the angle in radians between this vector and the vector
parameter; the return value is constrained to the range [0,PI].
|
void |
Vector3d.cross(Vector3d v1,
Vector3d v2)
Sets this vector to the vector cross product of vectors v1 and v2.
|
double |
Vector3d.dot(Vector3d v1)
Returns the dot product of this vector and vector v1.
|
double |
Matrix4d.get(Matrix3d m1,
Vector3d t1)
Performs an SVD normalization of this matrix to calculate
the rotation as a 3x3 matrix, the translation, and the scale.
|
double |
Matrix4d.get(Matrix3f m1,
Vector3d t1)
Performs an SVD normalization of this matrix to calculate
the rotation as a 3x3 matrix, the translation, and the scale.
|
void |
Matrix4d.get(Vector3d trans)
Retrieves the translational components of this matrix.
|
void |
Matrix3d.getColumn(int column,
Vector3d v)
Copies the matrix values in the specified column into the vector
parameter.
|
void |
Matrix3d.getRow(int row,
Vector3d v)
Copies the matrix values in the specified row into the vector parameter.
|
void |
Vector3d.normalize(Vector3d v1)
Sets the value of this vector to the normalization of vector v1.
|
void |
Matrix4d.set(double scale,
Vector3d v1)
Sets the value of this transform to a scale and translation matrix;
the scale is not applied to the translation and all of the matrix
values are modified.
|
void |
Matrix4f.set(Matrix3d m1,
Vector3d t1,
double scale)
Sets the value of this matrix from the rotation expressed by
the rotation matrix m1, the translation t1, and the scale factor.
|
void |
Matrix4d.set(Matrix3d m1,
Vector3d t1,
double scale)
Sets the value of this matrix from the rotation expressed by
the rotation matrix m1, the translation t1, and the scale factor.
|
void |
Matrix4f.set(Quat4d q1,
Vector3d t1,
double s)
Sets the value of this matrix from the rotation expressed
by the quaternion q1, the translation t1, and the scale s.
|
void |
Matrix4d.set(Quat4d q1,
Vector3d t1,
double s)
Sets the value of this matrix from the rotation expressed
by the quaternion q1, the translation t1, and the scale s.
|
void |
Matrix4d.set(Quat4f q1,
Vector3d t1,
double s)
Sets the value of this matrix from the rotation expressed
by the quaternion q1, the translation t1, and the scale s.
|
void |
Matrix4d.set(Vector3d v1)
Sets the value of this matrix to a translate matrix by the
passed translation value.
|
void |
Matrix4d.set(Vector3d v1,
double scale)
Sets the value of this transform to a scale and translation matrix;
the translation is scaled by the scale factor and all of the matrix
values are modified.
|
void |
AxisAngle4d.set(Vector3d axis,
double angle)
Sets the value of this AxisAngle4d to the specified
axis and angle.
|
void |
Matrix3d.setColumn(int column,
Vector3d v)
Sets the specified column of this matrix3d to the vector provided.
|
void |
Matrix3d.setRow(int row,
Vector3d v)
Sets the specified row of this matrix3d to the Vector provided.
|
void |
Matrix4d.setTranslation(Vector3d trans)
Modifies the translational components of this matrix to the values
of the Vector3d argument; the other values of this matrix are not
modified.
|
void |
Matrix4d.transform(Vector3d normal)
Transforms the normal parameter by this transform and places the value
back into normal.
|
void |
Matrix4d.transform(Vector3d normal,
Vector3d normalOut)
Transforms the normal parameter by this Matrix4d and places the value
into normalOut.
|
Constructor and Description |
---|
AxisAngle4d(Vector3d axis,
double angle)
Constructs and initializes an AxisAngle4d from the specified
axis and angle.
|
Matrix4d(Matrix3d m1,
Vector3d t1,
double s)
Constructs and initializes a Matrix4f from the rotation matrix,
translation, and scale values; the scale is applied only to the
rotational components of the matrix (upper 3x3) and not to the
translational components of the matrix.
|
Matrix4d(Matrix3f m1,
Vector3d t1,
double s)
Constructs and initializes a Matrix4d from the rotation matrix,
translation, and scale values; the scale is applied only to the
rotational components of the matrix (upper 3x3) and not to the
translational components of the matrix.
|
Matrix4d(Quat4d q1,
Vector3d t1,
double s)
Constructs and initializes a Matrix4d from the quaternion,
translation, and scale values; the scale is applied only to the
rotational components of the matrix (upper 3x3) and not to the
translational components.
|
Matrix4d(Quat4f q1,
Vector3d t1,
double s)
Constructs and initializes a Matrix4d from the quaternion,
translation, and scale values; the scale is applied only to the
rotational components of the matrix (upper 3x3) and not to the
translational components.
|
Vector3d(Vector3d v1)
Constructs and initializes a Vector3d from the specified Vector3d.
|
Vector3f(Vector3d v1)
Constructs and initializes a Vector3f from the specified Vector3d.
|