Cafu Engine
cf::ClipSys::TraceBoxT Class Reference

This class represents a convex solid in the shape of a (bounding-)box. More...

#include "TraceSolid.hpp"

Inheritance diagram for cf::ClipSys::TraceBoxT:

Public Member Functions

 TraceBoxT (const BoundingBox3dT &BB)
 Creates a trace solid from (in the shape of) the given axis-aligned bounding-box. More...
 
unsigned int GetNumVertices () const override
 Returns the number of vertices of this solid. More...
 
const Vector3dT * GetVertices () const override
 Returns the vertices of this solid. More...
 
unsigned int GetNumPlanes () const override
 Returns the number of planes of this solid. More...
 
const Plane3dT * GetPlanes () const override
 Returns the planes of this solid. More...
 
unsigned int GetNumEdges () const override
 Returns the number of edges of this solid. More...
 
const EdgeT * GetEdges () const override
 Returns the edges of this solid. More...
 
- Public Member Functions inherited from cf::ClipSys::TraceSolidT
 TraceSolidT ()
 The constructor. More...
 
virtual ~TraceSolidT ()
 The virtual destructor. More...
 
BoundingBox3dT GetBB () const
 Returns the bounding-box of (the vertices of) this solid. More...
 

Detailed Description

This class represents a convex solid in the shape of a (bounding-)box.

Constructor & Destructor Documentation

TraceBoxT::TraceBoxT ( const BoundingBox3dT &  BB)

Creates a trace solid from (in the shape of) the given axis-aligned bounding-box.

Member Function Documentation

const EdgeT* cf::ClipSys::TraceBoxT::GetEdges ( ) const
inlineoverridevirtual

Returns the edges of this solid.

Implements cf::ClipSys::TraceSolidT.

unsigned int cf::ClipSys::TraceBoxT::GetNumEdges ( ) const
inlineoverridevirtual

Returns the number of edges of this solid.

Implements cf::ClipSys::TraceSolidT.

unsigned int cf::ClipSys::TraceBoxT::GetNumPlanes ( ) const
inlineoverridevirtual

Returns the number of planes of this solid.

Implements cf::ClipSys::TraceSolidT.

unsigned int cf::ClipSys::TraceBoxT::GetNumVertices ( ) const
inlineoverridevirtual

Returns the number of vertices of this solid.

Implements cf::ClipSys::TraceSolidT.

const Plane3dT* cf::ClipSys::TraceBoxT::GetPlanes ( ) const
inlineoverridevirtual

Returns the planes of this solid.

Implements cf::ClipSys::TraceSolidT.

const Vector3dT* cf::ClipSys::TraceBoxT::GetVertices ( ) const
inlineoverridevirtual

Returns the vertices of this solid.

Implements cf::ClipSys::TraceSolidT.


The documentation for this class was generated from the following files: