9 #ifndef _LIBALMATH_ALMATH_TYPES_ALTRANSFORM_H_
10 #define _LIBALMATH_ALMATH_TYPES_ALTRANSFORM_H_
25 float r1_c1, r1_c2, r1_c3, r1_c4;
26 float r2_c1, r2_c2, r2_c3, r2_c4;
27 float r3_c1, r3_c2, r3_c3, r3_c4;
71 explicit Transform(
const std::vector<float>& pFloats);
136 const float& pEpsilon=0.0001f)
const;
151 const float& pEpsilon=0.0001f)
const;
356 void toVector(std::vector<float>& pReturnVector)
const;
358 std::vector<float>
toVector(
void)
const;
424 std::vector<float>& pTOut);
471 float determinant(
const std::vector<float>& pFloats);
737 #endif // _LIBALMATH_ALMATH_TYPES_ALTRANSFORM_H_
Transform transformFromRotZ(const float pRotZ)
Create a Transform initialize with explicit rotation around z axis:
void transformPreMultiply(const Transform &pT, Transform &pTOut)
pTOut = pT*pTOut
float norm(const Position2D &pPos)
Compute the norm of a Position2D.
void transformToFloatVector(const Transform &pT, std::vector< float > &pTOut)
DEPRECATED: Use toVector function. Copy the Transform in a vector of float:
Transform transformFrom3DRotation(const float &pWX, const float &pWY, const float &pWZ)
Create a Transform initialize with euler angle: H = fromRotZ(pWZ)*fromRotY(pWY)*fromRotX(pWX) ...
Transform transformFromRotX(const float pRotX)
Create a Transform initialize with explicit rotation around x axis:
void normalizeTransform(Transform &pT)
Normalize data, if needed, to have transform properties.
Transform transformFromPosition(const float &pX, const float &pY, const float &pZ)
Create a Transform initialize with explicit value for translation part:
void transformInvertInPlace(Transform &pT)
Inverse the given Transform in place:
float determinant(const Rotation &pRot)
Compute the determinant of the given Rotation:
float transformDistanceSquared(const Transform &pT1, const Transform &pT2)
Compute the squared distance between the actual Transform and the one give in argument (translation p...
Transform transformFromRotY(const float pRotY)
Create a Transform initialize with explicit rotation around y axis:
Transform transformDiff(const Transform &pT1, const Transform &pT2)
Compute the Transform between the actual Transform and the one give in argument result: ...
void transformInverse(const Transform &pT, Transform &pTOut)
Return the transform inverse of the given Transform:
float transformDistance(const Transform &pT1, const Transform &pT2)
Compute the distance between the actual Transform and the one give in argument:
Pose2D pinv(const Pose2D &pPos)
Alternative name for inverse: return the pose2d inverse of the given Pose2D.