IBSimu
1.0.4
|
Abstract solid class. More...
#include <solid.hpp>
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. |
Abstract solid class.
Solid class holds the definition for one solid. Solid class is an abstract base class. Different implementation may exist.
virtual Solid::~Solid | ( | ) | [inline, virtual] |
Virtual destructor.
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.