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 (std::ostream &os) const =0 |
Print debugging information to os. | |
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.
|
inlinevirtual |
Virtual destructor.
|
pure virtual |
Print debugging information to os.
Implemented in DXFSolid, CSGObjectSolid, FuncSolid, and STLSolid.
|
pure virtual |
Return if point x is inside solid.
Implemented in DXFSolid, CSGObjectSolid, FuncSolid, and STLSolid.
|
pure virtual |
Saves solid data to stream.
Implemented in DXFSolid, STLSolid, CSGObjectSolid, and FuncSolid.