This class represents a generic convex solid of arbitrary shape. More...
#include "TraceSolid.hpp"
Public Member Functions | |
TraceGenericT () | |
Creates an empty (invalid) trace model. More... | |
void | AssignInvTransformed (const TraceSolidT &Other, const math::Matrix3x3dT &Mat) |
Assigns the given solid to this one, transformed by the transpose of the given matrix. 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... | |
![]() | |
TraceSolidT () | |
The constructor. More... | |
virtual | ~TraceSolidT () |
The virtual destructor. More... | |
BoundingBox3dT | GetBB () const |
Returns the bounding-box of (the vertices of) this solid. More... | |
This class represents a generic convex solid of arbitrary shape.
TraceGenericT::TraceGenericT | ( | ) |
Creates an empty (invalid) trace model.
void TraceGenericT::AssignInvTransformed | ( | const TraceSolidT & | Other, |
const math::Matrix3x3dT & | Mat | ||
) |
Assigns the given solid to this one, transformed by the transpose of the given matrix.
Compared to creating a new trace solid, this can significantly reduce or even completely eliminate the required memory (re-)allocations.
|
inlineoverridevirtual |
Returns the edges of this solid.
Implements cf::ClipSys::TraceSolidT.
|
inlineoverridevirtual |
Returns the number of edges of this solid.
Implements cf::ClipSys::TraceSolidT.
|
inlineoverridevirtual |
Returns the number of planes of this solid.
Implements cf::ClipSys::TraceSolidT.
|
inlineoverridevirtual |
Returns the number of vertices of this solid.
Implements cf::ClipSys::TraceSolidT.
|
inlineoverridevirtual |
Returns the planes of this solid.
Implements cf::ClipSys::TraceSolidT.
|
inlineoverridevirtual |
Returns the vertices of this solid.
Implements cf::ClipSys::TraceSolidT.