#include <dxf_solid.hpp>
Inheritance diagram for DXFSolid:
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. |
DXFSolid is an implementation of Solid using MyDXFFile entities. The DXFSolid class is limited to 2D (planar and cylindrical) geometries.
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.
virtual void DXFSolid::debug_print | ( | void | ) | const [virtual] |
virtual bool DXFSolid::inside | ( | const Vec3D & | x | ) | const [virtual] |
virtual void DXFSolid::save | ( | std::ostream & | s | ) | const [virtual] |