11 T cx = c.
x(), cy = c.
y(), cz = c.
z();
21 unsigned n = ptset.
npts();
23 for(
unsigned i=0; i<n; i++)
31 std::vector<vgl_point_3d<T> > knots = spline.
knots();
32 for(
typename std::vector<
vgl_point_3d<T> >::const_iterator kit = knots.begin();
33 kit != knots.end(); ++kit)
38 #define VGL_BOUNDING_BOX_INSTANTIATE(T) \ 39 template vgl_box_3d<T> vgl_bounding_box(vgl_sphere_3d<T> const&); \ 40 template vgl_box_3d<T> vgl_bounding_box(vgl_pointset_3d<T> const&); \ 41 template vgl_box_3d<T> vgl_bounding_box(vgl_cubic_spline_3d<T> const&) A 3-d cubic spline curve defined by a set of knots (3-d points)
vgl_point_3d< Type > p(unsigned i) const
Contains class to represent a cartesian 3D bounding box.
Set of bounding box functions.
void add(vgl_point_3d< Type > const &p)
Add a point to this box.
vgl_box_3d< T > vgl_bounding_box(vgl_sphere_3d< T > const &sph)
Bounding box for a sphere.
a sphere in 3D nonhomogeneous space
std::vector< vgl_point_3d< Type > > knots() const
const vgl_point_3d< Type > & centre() const
Represents a cartesian 3D box.