Go to the source code of this file.
◆ ContourToNodesUsage()
void ContourToNodesUsage |
( |
void |
| ) |
|
Definition at line 7 of file ContourToNodes.cpp.
9 _printf_(
" [flags]=ContourToNodes(x,y,contourname,edgevalue);\n");
12 _printf_(
" contourname: name of .exp file containing the contours, or resulting structure from call to expread.\n");
13 _printf_(
" edgevalue: integer (0, 1 or 2) defining the value associated to the nodes on the edges of the polygons.\n");
14 _printf_(
" flags: vector of flags (0 or 1), of size nods.\n");
◆ WRAPPER()
WRAPPER |
( |
ContourToNodes_python |
| ) |
|
Definition at line 17 of file ContourToNodes.cpp.
20 int edgevalue,dim1,dim2,test1,test2;
23 char *contourname = NULL;
42 if(dim1<1)
_error_(
"x is empty");
43 if(dim2<1)
_error_(
"x is empty");
44 if(test1!=dim1)
_error_(
"x ans y do not have the same size");
45 if(test2!=dim2)
_error_(
"x ans y do not have the same size");
56 xDelete<char>(contourname);
58 xDelete<double>(flags);
int ContourToNodesx(IssmPDouble **pflags, double *x, double *y, int nods, Contour< IssmPDouble > **contours, int numcontours, int edgevalue)