DXFSolid Class Reference

MyDXFFile solid class. More...

#include <dxf_solid.hpp>

Inheritance diagram for DXFSolid:

Solid List of all members.

Public Member Functions

 DXFSolid (MyDXFFile *dxffile, const std::string &layername)
 Constructor for making a solid from a DXF-file layer.
virtual ~DXFSolid ()
 Destructor.
virtual bool inside (const Vec3D &x) const
 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
 Saves solid data to stream.

Detailed Description

MyDXFFile solid class.

DXFSolid is an implementation of Solid using MyDXFFile entities. The DXFSolid class is limited to 2D (planar and cylindrical) geometries.


Constructor & Destructor Documentation

DXFSolid::DXFSolid ( MyDXFFile dxffile,
const std::string &  layername 
)

Constructor for making a solid from a DXF-file layer.

The entities from the DXF-filel are copied to DXFSolid object. No dependency stays between dxffile and the object constructed.

virtual DXFSolid::~DXFSolid (  )  [virtual]

Destructor.


Member Function Documentation

virtual void DXFSolid::debug_print ( void   )  const [virtual]

Prints internal data to std::cout.

Reimplemented from Solid.

virtual bool DXFSolid::inside ( const Vec3D x  )  const [virtual]

Return if point x is inside solid.

Implements Solid.

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

Saves solid data to stream.

Implements Solid.


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