1 #ifndef CLASSIC_Euclid3D_HH
2 #define CLASSIC_Euclid3D_HH
81 Euclid3D(
double x,
double y,
double z,
double vx,
double vy,
double vz);
88 void getAll(
double &x,
double &y,
double &z,
89 double &vx,
double &vy,
double &vz)
const;
113 double M(
int row,
int col)
const;
213 V(),
R(), is_identity(true)
237 #endif // CLASSIC_Euclid3D_HH
Euclid3D dot(const Euclid3D &rhs) const
Dot product.
static Euclid3D XRotation(double angle)
Make rotation.
void setDisplacement(const Vector3D &V)
Set displacement.
const Euclid3D & operator*=(const Euclid3D &rhs)
Dot product with assign.
static Euclid3D translation(double x, double y, double z)
Make translation.
double getX() const
Get displacement.
void setY(double y)
Set displacement.
bool isPureYRotation() const
Test for rotation.
Euclid3D()
Default constructor.
Euclid3D inverse() const
Inverse.
bool operator!=(const Euclid3D &) const
double getZ() const
Get displacement.
void setRotation(const Rotation3D &R)
Set rotation.
double getZ() const
Get component.
double getY() const
Get component.
double M(int row, int col) const
Get component.
static Euclid3D YRotation(double angle)
Make rotation.
static Euclid3D identity()
Make identity.
Euclid3D Inverse(const Euclid3D &t)
Euclidean inverse.
bool operator==(const Euclid3D &) const
double getX() const
Get component.
bool isPureZRotation() const
Test for rotation.
void getAll(double &x, double &y, double &z, double &vx, double &vy, double &vz) const
Unpack.
const Euclid3D & dotBy(const Euclid3D &rhs)
Dot product with assign.
Displacement and rotation in space.
bool isIdentity() const
Test for identity.
void setZ(double z)
Set displacement.
const Rotation3D & getRotation() const
Get rotation.
void setX(double x)
Set displacement.
Euclid3D operator*(const Euclid3D &rhs) const
Dot product.
bool isPureXRotation() const
Test for rotation.
bool isPureTranslation() const
Test for translation.
Rotation in 3-dimensional space.
double getY() const
Get displacement.
static Euclid3D ZRotation(double angle)
Make rotation.
const Vector3D & getVector() const
Get displacement.