Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.4
      Class Index
      File List
   Version 1.0.4dev
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads

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:


Reference manual for Ion Beam Simulator 1.0.4
Generated by Doxygen 1.7.1 on Wed Apr 13 2011 23:25:34.