libalmath  2.5.11.14a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
shapes3d_utils.h
Go to the documentation of this file.
1 
8 #ifndef LIB_ALMATH_GEOMETRICS_SHAPES3D_UTILS_H
9 #define LIB_ALMATH_GEOMETRICS_SHAPES3D_UTILS_H
10 
13 
14 namespace AL {
15 namespace Math {
16 
17 void getSphereCentersFromPill(float pHalfExtent,
18  const Math::Transform &pEndTfToPillCenter,
19  Math::Position3D &pCenterA,
20  Math::Position3D &pCenterB);
21 
22 // compute the pill center and half extent so that the pill vector is oriented
23 // from A to B
24 void computePillParameters(const Math::Position3D &pEndTfToCenterA,
25  const Math::Position3D &pEndTfToCenterB,
26  float &pHalfExtent,
27  Math::Transform &pEndTfToPillCenter);
28 
29 } // End namespace Math.
30 } // End namespace AL.
31 
32 #endif // LIB_ALMATH_GEOMETRICS_SHAPES3D_UTILS_H
void getSphereCentersFromPill(float pHalfExtent, const Math::Transform &pEndTfToPillCenter, Math::Position3D &pCenterA, Math::Position3D &pCenterB)
void computePillParameters(const Math::Position3D &pEndTfToCenterA, const Math::Position3D &pEndTfToCenterB, float &pHalfExtent, Math::Transform &pEndTfToPillCenter)