com.croftsoft.core.math.quat
Class QuatImp
java.lang.Object
com.croftsoft.core.math.quat.QuatImp
- All Implemented Interfaces:
- Quat, QuatMut
public final class QuatImp
- extends Object
- implements QuatMut
Implementation of interface QuatMut.
- Since:
- 2008-05-02
- Version:
- $Id: QuatImp.java,v 1.7 2008/05/09 18:35:56 croft Exp $
- Author:
- David Wallace Croft
Constructor Summary |
QuatImp()
|
QuatImp(double w,
double x,
double y,
double z)
|
QuatImp
public QuatImp(double w,
double x,
double y,
double z)
QuatImp
public QuatImp()
getW
public double getW()
- Specified by:
getW
in interface Quat
getX
public double getX()
- Specified by:
getX
in interface Quat
getY
public double getY()
- Specified by:
getY
in interface Quat
getZ
public double getZ()
- Specified by:
getZ
in interface Quat
setW
public void setW(double w)
- Specified by:
setW
in interface QuatMut
setX
public void setX(double x)
- Specified by:
setX
in interface QuatMut
setY
public void setY(double y)
- Specified by:
setY
in interface QuatMut
setZ
public void setZ(double z)
- Specified by:
setZ
in interface QuatMut
matches
public boolean matches(Quat quat)
- Specified by:
matches
in interface Quat
matches
public boolean matches(Quat quat,
double tolerance)
- Specified by:
matches
in interface Quat
toString
public String toString()
- Overrides:
toString
in class Object
dotProduct
public double dotProduct(Quat quat)
- Specified by:
dotProduct
in interface Quat
multiply
public QuatMut multiply(Quat quat)
- Specified by:
multiply
in interface Quat
toAxisAngle
public AxisAngleMut toAxisAngle()
- Specified by:
toAxisAngle
in interface Quat
toRotationMatrix
public Matrix3x3Mut toRotationMatrix()
- Specified by:
toRotationMatrix
in interface Quat
CroftSoft Core Javadoc (2008-09-28 20:58:02)