Navigation

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


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

CSGObjectSolid Class Reference

CSGObject solid class. More...

#include <csgobject_solid.hpp>

Inheritance diagram for CSGObjectSolid:
Solid

List of all members.

Public Member Functions

 CSGObjectSolid (CSGObject *object)
 Constructor for Solid using CSGObject object for defining the geometry.
 CSGObjectSolid (std::istream &s)
 Constructor for loading solid data from a file.
 ~CSGObjectSolid ()
 Destructor.
bool inside (const Vec3D &x) const
 Return if point x is inside funcsolid.
void debug_print (std::ostream &os) const
 Print debugging information to os.
void save (std::ostream &fout) const
 Saves solid data to stream.

Detailed Description

CSGObject solid class.

CSGObjectSolid is an implementation of Solid using constructive solid geometry objects.


Constructor & Destructor Documentation

CSGObjectSolid::CSGObjectSolid ( CSGObject *  object  )  [inline]

Constructor for Solid using CSGObject object for defining the geometry.

A pointer to the CSGObject is saved in the CSGObjectSolid. The user must take care of calling the destructor of the CSGObject after use.

CSGObjectSolid::CSGObjectSolid ( std::istream &  s  ) 

Constructor for loading solid data from a file.

CSGObjectSolid::~CSGObjectSolid (  )  [inline]

Destructor.


Member Function Documentation

void CSGObjectSolid::debug_print ( std::ostream &  os  )  const [virtual]

Print debugging information to os.

Implements Solid.

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

Return if point x is inside funcsolid.

Implements Solid.

void CSGObjectSolid::save ( std::ostream &  fout  )  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.5dev
Generated by Doxygen 1.7.1 on Mon Feb 6 2012 15:07:16.