cytriangle 1.0.4__cp313-cp313-macosx_14_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cytriangle might be problematic. Click here for more details.

cytriangle/__init__.py ADDED
@@ -0,0 +1,4 @@
1
+ from .cytriangle import CyTriangle, triangulate
2
+ from .cytriangleio import TriangleIO
3
+
4
+ __all__ = ["CyTriangle", "TriangleIO", triangulate]
@@ -0,0 +1,39 @@
1
+ cdef extern from "triangle.h":
2
+
3
+ cdef struct triangulateio:
4
+
5
+ double *pointlist
6
+ double *pointattributelist
7
+ int *pointmarkerlist
8
+ int numberofpoints
9
+ int numberofpointattributes
10
+
11
+ int *trianglelist
12
+ double *triangleattributelist
13
+ double *trianglearealist
14
+ int *neighborlist
15
+ int numberoftriangles
16
+ int numberofcorners
17
+ int numberoftriangleattributes
18
+
19
+ int *segmentlist
20
+ int *segmentmarkerlist
21
+ int numberofsegments
22
+
23
+ double *holelist
24
+ int numberofholes
25
+
26
+ double *regionlist
27
+ int numberofregions
28
+
29
+ int *edgelist
30
+ int *edgemarkerlist
31
+ double *normlist
32
+ int numberofedges
33
+
34
+ void triangulate(
35
+ char *triswitches,
36
+ triangulateio *in_,
37
+ triangulateio *out_,
38
+ triangulateio *vorout
39
+ )