Cafu Engine
cf::ClipSys::TracePointT Class Reference

This class represents a convex solid in the shape of a point. More...

#include "TraceSolid.hpp"

Inheritance diagram for cf::ClipSys::TracePointT:

Public Member Functions

 TracePointT ()
 Creates a convex solid in the shape of a point. More...
 
unsigned int GetNumVertices () const override
 Returns the number of vertices of this solid. More...
 
const Vector3dTGetVertices () const override
 Returns the vertices of this solid. More...
 
unsigned int GetNumPlanes () const override
 Returns the number of planes of this solid. More...
 
const Plane3dTGetPlanes () const override
 Returns the planes of this solid. More...
 
unsigned int GetNumEdges () const override
 Returns the number of edges of this solid. More...
 
const EdgeTGetEdges () 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 point.

Traces of TracePointT solids are effectively "ray" traces, for which the collision model implementations apply special optimizations.

Constructor & Destructor Documentation

cf::ClipSys::TracePointT::TracePointT ( )
inline

Creates a convex solid in the shape of a point.

Member Function Documentation

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

Returns the edges of this solid.

Implements cf::ClipSys::TraceSolidT.

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

Returns the number of edges of this solid.

Implements cf::ClipSys::TraceSolidT.

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

Returns the number of planes of this solid.

Implements cf::ClipSys::TraceSolidT.

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

Returns the number of vertices of this solid.

Implements cf::ClipSys::TraceSolidT.

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

Returns the planes of this solid.

Implements cf::ClipSys::TraceSolidT.

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

Returns the vertices of this solid.

Implements cf::ClipSys::TraceSolidT.


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