DELAUNAY Class Reference

Class for creating delaunay triangulation with all buffers in rvc files. More...

#include <mi32/delaunay.h>

List of all members.

Public Member Functions

 DELAUNAY (const double MaximumMemory=128.0)
 ~DELAUNAY ()
INT32 AddPoint2D (const DPOINT2D &point)
INT32 AddPoint3D (const DPOINT3D &point)
INT32 AddPoints (const POLYLINE &polyline)
INT32 AddPoints (const DOUBLE_ARRAY< DPOINT3D > &points)
INT32 AddPoints (const DOUBLE_ARRAY< DPOINT2D > &points)
void Free ()
bool GetEdgeInfo (const INT32 edge, EDGEINFO &edgeinfo)
INT32 GetIndex (const INT32 node)
INT32 GetNode (const INT32 index)
INT32 GetNumEdges () const
INT32 GetNumNodes () const
INT32 GetNumTriangles () const
bool GetPoint2D (const INT32 node, DPOINT2D &point)
bool GetPoint3D (const INT32 node, DPOINT3D &point)
double GetTolerance () const
bool GetTriangleInfo (const INT32 triangle, TRIANGLEINFO &triangleinfo)
bool IsTriangulated () const
ERRVALUE Triangulate (const double tolerance)

Detailed Description

Class for creating delaunay triangulation with all buffers in rvc files.


Constructor & Destructor Documentation

DELAUNAY::DELAUNAY ( const double  MaximumMemory = 128.0  ) 

Constructor.

DELAUNAY::~DELAUNAY (  ) 

Destructor.


Member Function Documentation

INT32 DELAUNAY::AddPoint2D ( const DPOINT2D point  ) 

Add point for triangulation Return index of point added for triangulation.

INT32 DELAUNAY::AddPoint3D ( const DPOINT3D point  ) 

Add point for triangulation Return index of point added for triangulation.

INT32 DELAUNAY::AddPoints ( const POLYLINE polyline  ) 

Add points for triangulation Return index of first point added for triangulation.

INT32 DELAUNAY::AddPoints ( const DOUBLE_ARRAY< DPOINT3D > &  points  ) 

Add points for triangulation Return index of first point added for triangulation.

INT32 DELAUNAY::AddPoints ( const DOUBLE_ARRAY< DPOINT2D > &  points  ) 

Add points for triangulation Return index of first point added for triangulation.

void DELAUNAY::Free (  ) 

Free all resurces.

bool DELAUNAY::GetEdgeInfo ( const INT32  edge,
EDGEINFO edgeinfo 
)

Get edge information for given edge Return true if given edge exists.

INT32 DELAUNAY::GetIndex ( const INT32  node  ) 

Get index of node assigned when this node was added for triangulation Return index of node or -1 if node is part of break edge of clip region.

INT32 DELAUNAY::GetNode ( const INT32  index  ) 
INT32 DELAUNAY::GetNumEdges (  )  const

Get number of edges in triangulation Return number of edges.

INT32 DELAUNAY::GetNumNodes (  )  const

Get number of nodes in triangulation Return number of nodes.

INT32 DELAUNAY::GetNumTriangles (  )  const

Get number of triangles triangulation Return number of triangles.

bool DELAUNAY::GetPoint2D ( const INT32  node,
DPOINT2D point 
)

Get point for given node Return true if given node exists.

bool DELAUNAY::GetPoint3D ( const INT32  node,
DPOINT3D point 
)

Get point for given node Return true if given node exists.

double DELAUNAY::GetTolerance (  )  const [inline]

Get tolerance used for triangulation Return tolerance.

bool DELAUNAY::GetTriangleInfo ( const INT32  triangle,
TRIANGLEINFO triangleinfo 
)

Get triangle information for given edge Return true if given triangle exists.

bool DELAUNAY::IsTriangulated (  )  const [inline]

Is triangulated Return true if it is.

ERRVALUE DELAUNAY::Triangulate ( const double  tolerance  ) 

Generates triangulation.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:33:18 2012 for TNTsdk 2012 by  doxygen 1.6.1