14 #ifndef FINITEBOUNDINGVOLUME_H
15 #define FINITEBOUNDINGVOLUME_H
29 virtual LPoint3 get_min()
const=0;
30 virtual LPoint3 get_max()
const=0;
31 virtual PN_stdfloat get_volume()
const;
33 MAKE_PROPERTY(min, get_min);
34 MAKE_PROPERTY(max, get_max);
35 MAKE_PROPERTY(volume, get_volume);
50 static void init_type() {
51 GeometricBoundingVolume::init_type();
53 GeometricBoundingVolume::get_class_type());
56 return get_class_type();
58 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
This is an abstract class for any volume in any sense which can be said to define the locality of ref...
virtual const FiniteBoundingVolume * as_finite_bounding_volume() const
Virtual downcast method.
A special kind of GeometricBoundingVolume that is known to be finite.
This is another abstract class, for a general class of bounding volumes that actually enclose points ...
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...