Constructor and Description |
---|
Matrix3D()
Constructs an identity 4x4 matrix
|
Matrix3D(Vector3D vx,
Vector3D vy,
Vector3D vz,
Vector3D vw)
Constructs a 4x4 matrix using the specified vectors
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Tests the specified object
obj for equality with this matrix |
Vector3D |
getVw()
Returns the vector Vw
|
Vector3D |
getVx()
Returns the vector Vx
|
Vector3D |
getVy()
Returns the vector Vy
|
Vector3D |
getVz()
Returns the vector Vz
|
int |
hashCode() |
void |
setVw(Vector3D vw)
Sets the vector Vw
|
void |
setVx(Vector3D vx)
Sets the vector Vx
|
void |
setVy(Vector3D vy)
Sets the vector Vy
|
void |
setVz(Vector3D vz)
Sets the vector Vz
|
Matrix3D |
toIdentity()
Converts this matrix to an identity matrix
|
String |
toString()
Returns the matrix elements as a String
|
public Matrix3D toIdentity()
public Vector3D getVw()
public void setVw(Vector3D vw)
vw
- the vector Vwpublic Vector3D getVx()
public void setVx(Vector3D vx)
vx
- the vector Vxpublic Vector3D getVy()
public void setVy(Vector3D vy)
vy
- the vector Vypublic Vector3D getVz()
public void setVz(Vector3D vz)
vz
- the vector Vzpublic boolean equals(Object obj)
obj
for equality with this matrixCopyright © 2009-2013. All Rights Reserved.