core
vgl
vgl_bounding_box.h
Go to the documentation of this file.
1
// This is core/vgl/vgl_bounding_box.h
2
#ifndef vgl_bounding_box_h_
3
#define vgl_bounding_box_h_
4
//:
5
// \file
6
// \brief Set of bounding box functions
7
// \author J.L. Mundy
8
//
9
// Computes the axis aligned bounding box for some selected vgl objects
10
// \verbatim
11
// Modifications
12
// Initial version August 30, 2015
13
// \endverbatim
14
15
#include <
vgl/vgl_fwd.h
>
// forward declare various vgl classes
16
17
18
//: Bounding box for a sphere
19
template
<
class
T>
20
vgl_box_3d<T>
vgl_bounding_box
(
vgl_sphere_3d<T>
const
& sphere);
21
22
//: Bounding box for a pointset
23
template
<
class
T>
24
vgl_box_3d<T>
vgl_bounding_box
(
vgl_pointset_3d<T>
const
& ptset);
25
26
//: Bounding box for a cubic spline (based on knots, so not exact)
27
template
<
class
T>
28
vgl_box_3d<T>
vgl_bounding_box
(
vgl_cubic_spline_3d<T>
const
& spline);
29
30
#endif // vgl_bounding_box_h_
vgl_pointset_3d
Definition:
vgl_fwd.h:38
vgl_fwd.h
vgl_sphere_3d< T >
vgl_bounding_box
vgl_box_3d< T > vgl_bounding_box(vgl_sphere_3d< T > const &sphere)
Bounding box for a sphere.
Definition:
vgl_bounding_box.hxx:8
vgl_box_3d
Represents a cartesian 3D box.
Definition:
vgl_box_3d.h:65
vgl_cubic_spline_3d
Definition:
vgl_cubic_spline_3d.h:35
Generated by
1.8.15