18 template <
typename Real>
19 void Project(Ellipse2<Real>
const& ellipse, Line2<Real>
const& line,
20 Real& smin, Real& smax);
24 template <
typename Real>
25 void Project(Ellipsoid3<Real>
const& ellipsoid,
26 Line3<Real>
const& line, Real& smin, Real& smax);
29 template <
typename Real>
31 Real& smin, Real& smax)
42 Real rSqr = tmp[0] * tmp[0] + tmp[1] * tmp[1];
43 Real radius = sqrt(rSqr);
45 smin = center - radius;
46 smax = center + radius;
49 template <
typename Real>
51 Real& smin, Real& smax)
63 Real rSqr = tmp[0] * tmp[0] + tmp[1] * tmp[1] + tmp[2] * tmp[2];
64 Real radius = sqrt(rSqr);
66 smin = center - radius;
67 smax = center + radius;
GVector< Real > Project(GVector< Real > const &v, int reject)
Vector< N, Real > direction
DualQuaternion< Real > Dot(DualQuaternion< Real > const &d0, DualQuaternion< Real > const &d1)
std::array< Vector< N, Real >, N > axis