Solid Class Reference

Abstract solid class. More...

#include <solid.hpp>

Inheritance diagram for Solid:

CSGObjectSolid DXFSolid FuncSolid List of all members.

Public Member Functions

virtual ~Solid ()
 Virtual destructor.
virtual bool inside (const Vec3D &x) const =0
 Return if point x is inside solid.
virtual void debug_print (void) const
 Prints internal data to std::cout.
virtual void save (std::ostream &s) const =0
 Saves solid data to stream.

Detailed Description

Abstract solid class.

Solid class holds the definition for one solid. Solid class is an abstract base class. Different implementation may exist.


Constructor & Destructor Documentation

virtual Solid::~Solid (  )  [inline, virtual]

Virtual destructor.


Member Function Documentation

virtual void Solid::debug_print ( void   )  const [inline, virtual]

Prints internal data to std::cout.

Reimplemented in CSGObjectSolid, DXFSolid, and FuncSolid.

virtual bool Solid::inside ( const Vec3D x  )  const [pure virtual]

Return if point x is inside solid.

Implemented in CSGObjectSolid, DXFSolid, and FuncSolid.

virtual void Solid::save ( std::ostream &  s  )  const [pure virtual]

Saves solid data to stream.

Implemented in CSGObjectSolid, DXFSolid, and FuncSolid.


The documentation for this class was generated from the following file:
Generated on Thu Apr 21 13:39:59 2011 for IBSimu by  doxygen 1.4.7