|
Classes |
struct | GzVector |
struct | GzQuatern |
struct | GzPose |
struct | GzHomo |
| Matrix for homogeneous transforms on 2D points. More...
|
Functions |
GzVector | GzVectorZero () |
GzVector | GzVectorSet (double x, double y, double z) |
GzVector | GzVectorSetQuatern (GzQuatern q) |
GzVector | GzVectorAdd (GzVector b, GzVector a) |
GzVector | GzVectorSub (GzVector b, GzVector a) |
GzVector | GzVectorMul (double s, GzVector a) |
double | GzVectorMag (GzVector a) |
GzVector | GzVectorUnit (GzVector a) |
GzVector | GzVectorCross (GzVector a, GzVector b) |
double | GzVectorDot (GzVector a, GzVector b) |
bool | GzVectorFinite (GzVector a) |
GzQuatern | GzQuaternIdent () |
GzQuatern | GzQuaternSet (double u, double x, double y, double z) |
GzQuatern | GzQuaternSetVector (GzVector v) |
GzQuatern | GzQuaternInverse (GzQuatern a) |
GzQuatern | GzQuaternNormal (GzQuatern a) |
GzQuatern | GzQuaternFromAxis (double x, double y, double z, double a) |
GzQuatern | GzQuaternFromEuler (double roll, double pitch, double yaw) |
GzQuatern | GzQuaternFromHomo (GzHomo homo) |
GzVector | GzQuaternToEuler (GzQuatern q) |
GzQuatern | GzQuaternToAxis (GzQuatern a) |
GzQuatern | GzQuaternMul (GzQuatern a, GzQuatern b) |
GzQuatern | GzQuaternScale (double s, GzQuatern a) |
bool | GzQuaternFinite (GzQuatern a) |
GzPose | GzPoseSet (GzVector pos, GzQuatern rot) |
GzPose | GzPosePointAt (GzVector pos, GzVector at, GzVector up) |
| Create a pose from a triplet of vectors.
|
bool | GzPoseFinite (GzPose a) |
GzPose | GzCoordPoseAdd (GzPose bpose, GzPose apose) |
GzPose | GzCoordPoseSub (GzPose bpose, GzPose apose) |
GzPose | GzCoordPoseSolve (GzPose ba, GzPose b) |
GzVector | GzCoordPositionAdd (GzVector bpos, GzVector apos, GzQuatern arot) |
GzVector | GzCoordPositionSub (GzVector bpos, GzVector apos, GzQuatern arot) |
GzQuatern | GzCoordRotationAdd (GzQuatern b, GzQuatern a) |
GzQuatern | GzCoordRotationSub (GzQuatern b, GzQuatern a) |
GzHomo | GzHomoFromQuatern (GzQuatern q) |
| Compute a homogeneous transform matrix from a Quatern.
|
GzHomo | GzHomoInverse (GzHomo a) |
| Compute the inverse of the given transform matrix.
|
GzVector | GzHomoMul (GzHomo m, GzVector a) |
| Apply a homogeneous transform.
|