Public Member Functions | List of all members
Solid Class Reference

Abstract solid class. More...

#include <solid.hpp>

Inheritance diagram for Solid:
CSGObjectSolid DXFSolid FuncSolid STLSolid

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.

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: