mi32/rvctin.h File Reference

#include <mi32/rect.h>
Include dependency graph for rvctin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EDGEINFO
 Edge Info structure. More...
struct  RVCTINEDGE
 TIN edge structure. More...
struct  RVCTINHULL
 TIN hull structure. More...
struct  RVCTINHULLEDGE
 TIN hull edge structure. More...
struct  RVCTINNODE
 TIN node structure. More...
struct  RVCTINTRIANGLE
 TIN triangle structure. More...
struct  TRIANGLEEDGES
 Triangle Edges structure. More...
struct  TRIANGLEINFO
 Triangle Info structure. More...
struct  TRIANGLENODES
 Triangle Nodes structure. More...
struct  TRIANGLEREF
 Triangle structure. More...
struct  TRIANGLETRIANGLES
 Triangle Triangles structure. More...

Defines

#define GEOMLIBEXPORT   MI_DLLIMPORT
#define TINEDGE_Hard   0x01
#define TINHULL_Clip   1
#define TINHULL_Convex   0
#define TINHULL_Exclude   2

Functions

GEOMLIBEXPORT int Delaunay3D (DPOINT3D **Nodes, TRIANGLEREF **Triangles, INT32 *NumNodes, INT32 *NumTriangles, double Tolerance)
GEOMLIBEXPORT int DelaunayProc (DPOINT3D **Nodes, TRIANGLEREF **Triangles, RVCTINHULLEDGE **Con, RVCTINHULL *HullInfo, INT32 *NumNodes, INT32 *NumTriangles, INT32 *NumHullEdges, double Tolerance)

Define Documentation

#define GEOMLIBEXPORT   MI_DLLIMPORT
#define TINEDGE_Hard   0x01

Values for RVCTINTRIANGLE.edgeflagsXX.

#define TINHULL_Clip   1
#define TINHULL_Convex   0

Values for RVCTINHULL.hulltype.

#define TINHULL_Exclude   2

Function Documentation

GEOMLIBEXPORT int Delaunay3D ( DPOINT3D **  Nodes,
TRIANGLEREF **  Triangles,
INT32 NumNodes,
INT32 NumTriangles,
double  Tolerance 
)

Performs Delaunay triangulation (short parameters list).

Note: This function calls DelaunayProc.

Parameters:
Nodes Input/output array of points
Triangles Output array of triangles
NumNodes Number of input/output nodes passed/returned
NumTriangles Number of the output triangles
Tolerance Spatial tolerance
GEOMLIBEXPORT int DelaunayProc ( DPOINT3D **  Nodes,
TRIANGLEREF **  Triangles,
RVCTINHULLEDGE **  Con,
RVCTINHULL HullInfo,
INT32 NumNodes,
INT32 NumTriangles,
INT32 NumHullEdges,
double  Tolerance 
)

Performs Delaunay triangulation (full parameters list).

NOTE: The triangle vertices in TRIANGLEREF structure are organized in clockwise direction (when looking down) WARNING: The order of input Nodes will be changed, all nodes will be sorted using X coordinate (then Y if two points have equal X coordinates). WARNING: NUMBER OF NODES RETURNED MIGHT BE DIFFERENT FROM INPUT, because of duplicate point removal using tolerance value.

Parameters:
Nodes Input/output array of points
Triangles Output array of triangles
Con Output array of hull edges
HullInfo Information about convex hull
NumNodes Number of input/output nodes passed/returned
NumTriangles Number of the output triangles
NumHullEdges Number of the hull edges
Tolerance Spatial tolerance

Generated on Sun Oct 7 21:28:01 2012 for TNTsdk 2012 by  doxygen 1.6.1