Go to the documentation of this file.
14 #ifndef BOUNDINGPLANE_H
15 #define BOUNDINGPLANE_H
37 virtual LPoint3 get_approx_center()
const;
38 virtual void xform(
const LMatrix4 &mat);
40 virtual void output(std::ostream &out)
const;
43 INLINE_MATHUTIL
const LPlane &get_plane()
const;
45 MAKE_PROPERTY(plane, get_plane);
60 virtual int contains_box(
const BoundingBox *box)
const;
61 virtual int contains_line(
const BoundingLine *line)
const;
72 static void init_type() {
73 GeometricBoundingVolume::init_type();
75 GeometricBoundingVolume::get_class_type());
78 return get_class_type();
80 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
This defines a bounding sphere, consisting of a center and a radius.
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(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An axis-aligned bounding box; that is, a minimum and maximum coordinate triple.
TypeHandle is the identifier used to differentiate C++ class types.
This is another abstract class, for a general class of bounding volumes that actually enclose points ...
virtual const BoundingPlane * as_bounding_plane() const
Virtual downcast method.
This funny bounding volume is an infinite line with no thickness and extending to infinity in both di...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This defines a bounding convex hexahedron.
This is an abstract class for any volume in any sense which can be said to define the locality of ref...
This funny bounding volume is an infinite plane that divides space into two regions: the part behind ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.