Last change
on this file since 23677 was 23677, checked in by bdef, 6 years ago |
CHG: adding missing directories and cleaning code
|
File size:
605 bytes
|
Line | |
---|
1 | from ContourToNodes_python import ContourToNodes_python
|
---|
2 |
|
---|
3 | def ContourToNodes(x,y,contourname,edgevalue):
|
---|
4 | """
|
---|
5 | CONTOURTONODES - flags vertices inside contour
|
---|
6 |
|
---|
7 | Usage:
|
---|
8 | flags = ContourToNodes(x,y,contourname,edgevalue);
|
---|
9 |
|
---|
10 | x,y: list of nodes
|
---|
11 | contourname: name of .exp file containing the contours, or resulting structure from call to expread
|
---|
12 | edgevalue: integer (0, 1 or 2) defining the value associated to the nodes on the edges of the polygons
|
---|
13 | flags: vector of flags (0 or 1), of size nodes
|
---|
14 | """
|
---|
15 |
|
---|
16 | #Call mex module
|
---|
17 | flags = ContourToNodes_python(x,y,contourname,edgevalue)
|
---|
18 |
|
---|
19 | #return
|
---|
20 | return flags
|
---|
Note:
See
TracBrowser
for help on using the repository browser.