1 #ifndef SimTK_SIMMATH_GEO_POINT_H_
2 #define SimTK_SIMMATH_GEO_POINT_H_
93 {
return (p2-p1).normSqr(); }
115 const RealP scale =
std::max(tol, maxcoord*tol);
125 int& most, RealP& mostCoord);
131 const UnitVec3P& direction,
132 int& most, RealP& mostCoord);
140 int& least,
int& most,
141 RealP& leastCoord, RealP& mostCoord);
147 const UnitVec3P& direction,
148 int& least,
int& most,
149 RealP& leastCoord, RealP& mostCoord);
165 Vec3P& centroid, SymMat33P& covariance);
171 Vec3P& centroid, SymMat33P& covariance);
202 int least[3],
int most[3],
203 Vec3P& low, Vec3P& high);
209 int least[3],
int most[3],
210 Vec3P& low, Vec3P& high);
257 const RotationP& R_FB,
258 int least[3],
int most[3],
259 Vec3P& low_B, Vec3P& high_B);
265 const RotationP& R_FB,
266 int least[3],
int most[3],
267 Vec3P& low_B, Vec3P& high_B);
334 {
return Sphere_<P>(p, 0).stretchBoundary(); }
427 const Vec3P& p3,
bool forceCircumsphere,
Array_<int>& which);
474 #endif // SimTK_SIMMATH_GEO_POINT_H_