1.2.3
CCC
 
surface.cpp File Reference
#include "geoslib_old_f.h"
#include "Basic/Utilities.hpp"
#include "Db/Db.hpp"
#include <math.h>

Classes

struct  Surf_Def
 

Macros

#define MAT(i, j)   (mat[3*(i) + (j)])
 
#define EIGVEC(i, j)   (eigvec[3*(i) + (j)])
 

Functions

int db_trisurf (Db *db, Model *model, const String &triswitch, int icode0, int verbose, int *ncode_arg, int *ntri_arg, int *npoint_arg, double *codesel, VectorInt &ntcode, VectorInt &triangles, VectorDouble &points)
 

Macro Definition Documentation

#define EIGVEC (   i,
 
)    (eigvec[3*(i) + (j)])
#define MAT (   i,
 
)    (mat[3*(i) + (j)])

Function Documentation

int db_trisurf ( Db db,
Model model,
const String triswitch,
int  icode0,
int  verbose,
int *  ncode_arg,
int *  ntri_arg,
int *  npoint_arg,
double *  codesel,
VectorInt ntcode,
VectorInt triangles,
VectorDouble points 
)

Free the triangleio structure

Parameters
[in]dbDb structure
[in]modelModel structure
[in]triswitchTriangulation option
[in]icode0Reference Code attributed to the Target Fault
[in]verboseVerbose option
[out]ncode_argNumber of different codes
[out]ntri_argNumber of triangles
[out]npoint_argNumber of vertices
[out]codeselSelected code (if any)
[out]ntcodeArray for the number of triangles per code
[out]trianglesArray on the triangle corners
[out]pointsArray on the 3-D vertices coordinates
Remarks
The returned arrays 'triangle', 'points'
must be freed by the calling function