Public Member Functions | List of all members
Solid Class Referenceabstract

Abstract solid class. More...

#include <solid.hpp>

Inheritance diagram for Solid:
CSGObjectSolid DXFSolid FuncSolid STLSolid

Public Member Functions

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

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 ( )
inlinevirtual

Virtual destructor.

Member Function Documentation

virtual void Solid::debug_print ( std::ostream &  os) const
pure virtual

Print debugging information to os.

Implemented in DXFSolid, CSGObjectSolid, FuncSolid, and STLSolid.

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

Return if point x is inside solid.

Implemented in DXFSolid, CSGObjectSolid, FuncSolid, and STLSolid.

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

Saves solid data to stream.

Implemented in DXFSolid, STLSolid, CSGObjectSolid, and FuncSolid.


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