A class for representing convex clipping volumes made up.
Public Methods
-
inline ConvexPlanerPolygon()
-
float area()
-
const Vec3& center()
-
const Vec3& normal()
-
typedef std::vector<osg::Vec3> VertexList void add(const Vec3& v)
-
VertexList& getVertexList()
-
const VertexList& getVertexList() const
-
void computeAttributes()
-
void computeBound(BoundingBox& bb) const
-
void computeBound(BoundingSphere& bs) const
Protected Fields
-
float _area
-
Vec3 _center
-
Vec3 _normal
-
VertexList _vertexList
Documentation
A class for representing convex clipping volumes made up.
When adding planes, their normals should point inwards (into the volume)
inline ConvexPlanerPolygon()
float area()
const Vec3& center()
const Vec3& normal()
typedef std::vector<osg::Vec3> VertexList void add(const Vec3& v)
VertexList& getVertexList()
const VertexList& getVertexList() const
void computeAttributes()
void computeBound(BoundingBox& bb) const
void computeBound(BoundingSphere& bs) const
float _area
Vec3 _center
Vec3 _normal
VertexList _vertexList
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.