Constructor and Description |
---|
Matrix2D()
Constructs an identity 3x3 matrix
|
Matrix2D(Vector vx,
Vector vy,
Vector vz)
Constructs a 3x3 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 |
Vector |
getVx()
Returns the vector Vx
|
Vector |
getVy()
Returns the vector Vy
|
Vector |
getVz()
Returns the vector Vz
|
int |
hashCode() |
void |
setVx(Vector vx)
Sets the vector Vx
|
void |
setVy(Vector vy)
Sets the vector Vy
|
void |
setVz(Vector vz)
Sets the vector Vz
|
Matrix2D |
toIdentity()
Converts this matrix to an identity matrix
|
String |
toString()
Returns the matrix elements as a String
|
public Matrix2D toIdentity()
public Vector getVx()
public void setVx(Vector vx)
vx
- the vector Vxpublic Vector getVy()
public void setVy(Vector vy)
vy
- the vector Vypublic Vector getVz()
public void setVz(Vector vz)
vz
- the vector Vzpublic boolean equals(Object obj)
obj
for equality with this matrixCopyright © 2009-2013. All Rights Reserved.