Class for creating delaunay triangulation with all buffers in rvc files. More...
#include <mi32/delaunay.h>
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) |
Class for creating delaunay triangulation with all buffers in rvc files.
| DELAUNAY::DELAUNAY | ( | const double | MaximumMemory = 128.0 |
) |
Constructor.
| DELAUNAY::~DELAUNAY | ( | ) |
Destructor.
Add point for triangulation Return index of point added for triangulation.
Add point for triangulation Return index of point added for triangulation.
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.
Get edge information for given edge Return true if given edge exists.
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::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.
Get point for given node Return true if given node exists.
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.
1.6.1