-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytriangle.pxd
More file actions
35 lines (28 loc) · 806 Bytes
/
pytriangle.pxd
File metadata and controls
35 lines (28 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
cdef extern from "triangle.h":
cdef struct triangulateio:
double *pointlist
double *pointattributelist
int *pointmarkerlist
int numberofpoints
int numberofpointattributes
int *trianglelist
double *triangleattributelist
double *trianglearealist
int *neighborlist
int numberoftriangles
int numberofcorners
int numberoftriangleattributes
int *segmentlist
int *segmentmarkerlist
int numberofsegments
double *holelist
int numberofholes
double *regionlist
int numberofregions
int *edgelist
int *edgemarkerlist
double *normlist
int numberofedges
cdef void triangulate(char *triswitches, triangulateio *in_, triangulateio *out_, triangulateio *vorout)
cdef class PyTriangulateIO:
cdef triangulateio * thisptr