class SG_EXPORT osg::ConvexPlanerPolygon

A class for representing convex clipping volumes made up.

Public Methods

[more]inline ConvexPlanerPolygon()
[more]float area()
[more]const Vec3& center()
[more]const Vec3& normal()
[more]typedef std::vector<osg::Vec3> VertexList void add(const Vec3& v)
[more]VertexList& getVertexList()
[more]const VertexList& getVertexList() const
[more]void computeAttributes()
[more]void computeBound(BoundingBox& bb) const
[more]void computeBound(BoundingSphere& bs) const

Protected Fields

[more]float _area
[more]Vec3 _center
[more]Vec3 _normal
[more]VertexList _vertexList


Documentation

A class for representing convex clipping volumes made up. When adding planes, their normals should point inwards (into the volume)
oinline ConvexPlanerPolygon()

ofloat area()

oconst Vec3& center()

oconst Vec3& normal()

otypedef std::vector<osg::Vec3> VertexList void add(const Vec3& v)

oVertexList& getVertexList()

oconst VertexList& getVertexList() const

ovoid computeAttributes()

ovoid computeBound(BoundingBox& bb) const

ovoid computeBound(BoundingSphere& bs) const

ofloat _area

oVec3 _center

oVec3 _normal

oVertexList _vertexList


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.