Main Page | Namespace List | Class List | File List | Namespace Members | Class Members

DelaunayMeshGenerator Class Reference

Delaunay mesh generator. More...

#include <DelaunayMeshGenerator.h>

List of all members.

Public Member Functions

 DelaunayMeshGenerator (const QString &filename, bool verbose=false)
 DelaunayMeshGenerator (QIODevice &iodevice, bool verbose=false)
 ~DelaunayMeshGenerator ()
void generate ()
Meshmesh () const
bool startElement (const QString &, const QString &, const QString &qName, const QXmlAttributes &)
void write_XML (QTextStream &cout)

Protected Member Functions

void add_vertex (Vertex *v)
void add_edge (Edge *e)
Vertexvertex (const QString &id)


Detailed Description

Delaunay mesh generator.

Inherits : QXmlDefaultHandler

Version:
12 sep 2004

Definition at line 50 of file DelaunayMeshGenerator.h.


Constructor & Destructor Documentation

DelaunayMeshGenerator::DelaunayMeshGenerator const QString &  filename,
bool  verbose = false
 

Constructor.

Parameters:
verbose Show some progress on stderr
Version:
12 sep 2004
Date:
-

Definition at line 20 of file DelaunayMeshGenerator.cpp.

References DelaunayMeshGenerator().

Referenced by DelaunayMeshGenerator().

DelaunayMeshGenerator::DelaunayMeshGenerator QIODevice &  iodevice,
bool  verbose = false
 

Constructor.

Parameters:
verbose Show some progress on stderr
Version:
12 sep 2004
Date:
-

Definition at line 41 of file DelaunayMeshGenerator.cpp.

References DelaunayMeshGenerator().

DelaunayMeshGenerator::~DelaunayMeshGenerator  ) 
 

Destructor.

Deletes mesh.

Version:
26 jul 2002
Date:
26 jul 2002

Definition at line 60 of file DelaunayMeshGenerator.cpp.


Member Function Documentation

void DelaunayMeshGenerator::generate  ) 
 

Generate triangle mesh.

Version:
16 jul 2002
Date:
16 jul 2002

Definition at line 94 of file DelaunayMeshGenerator.cpp.

References geometry::area(), Vertex::ID(), Edge::vertex(), Vertex::x(), and Vertex::y().

Mesh* DelaunayMeshGenerator::mesh  )  const [inline]
 

Get pointer to generated mesh.

Definition at line 107 of file DelaunayMeshGenerator.h.

bool DelaunayMeshGenerator::startElement const QString &  ,
const QString &  ,
const QString &  qName,
const QXmlAttributes & 
 

Method of XML handler.

Definition at line 564 of file DelaunayMeshGenerator.cpp.

References startElement().

Referenced by startElement().

void DelaunayMeshGenerator::write_XML QTextStream &  cout  ) 
 

Write delaunay input data to stream in XML format.

Note: The generated mesh is written by Mesh::write_XML().

Definition at line 541 of file DelaunayMeshGenerator.cpp.

References Edge::write_XML(), Vertex::write_XML(), and write_XML().

Referenced by write_XML().


The documentation for this class was generated from the following files:
Generated on Sun Sep 12 12:59:34 2004 for DelaunayMeshGenerator by doxygen 1.3.7