34 return (
int)_components.size();
44 nassertr(n >= 0 && n < (
int)_components.size(), NULL);
45 return _components[n];
int get_num_components() const
Returns the number of components in the intersection.
This is another abstract class, for a general class of bounding volumes that actually enclose points ...
const GeometricBoundingVolume * get_component(int n) const
Returns the nth component in the intersection.
IntersectionBoundingVolume()
Constructs an empty intersection.