Main Page | Class Hierarchy | Class List | File List | Class Members

Triangulator Class Reference

#include <triangulator.h>

List of all members.

Public Member Functions

 Triangulator (SPH &sph, const double d_min)
void reset ()
bool next ()
bool at_end () const
const Geometryget_triangle () const
void to_xml (std::ostream &o)


Detailed Description

Triangulates the surfaces of a sph space.

Uses an adoption of the marching tetrahedra algorithm.

Author:
Moritz Franosch


Constructor & Destructor Documentation

Triangulator::Triangulator SPH sph,
const double  d_min
 

Constructs triangulated surfaces from a sph space.

d_min Approximate length of the sides of the triangles.


Member Function Documentation

bool Triangulator::at_end  )  const
 

Last next() has returned false.

const Geometry & Triangulator::get_triangle  )  const
 

Returns a reference to the current triangle.

bool Triangulator::next  ) 
 

Iterator set to next triangle.

Returns false if no next triangle exists.

void Triangulator::reset  ) 
 

Resets iterator through triangles.

void Triangulator::to_xml std::ostream &  o  ) 
 

Output of triangulator as XML.


The documentation for this class was generated from the following files:
Generated on Fri Apr 22 11:06:53 2005 for partsim.kdevelop by doxygen 1.3.6