polyclipNP 0.3__tar.gz → 0.7__tar.gz
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.
- {polyclipnp-0.3 → polyclipnp-0.7}/PKG-INFO +4 -2
- {polyclipnp-0.3 → polyclipnp-0.7}/README.md +1 -1
- {polyclipnp-0.3 → polyclipnp-0.7}/polyclipNP.egg-info/PKG-INFO +4 -2
- {polyclipnp-0.3 → polyclipnp-0.7}/polyclipNP.egg-info/SOURCES.txt +2 -0
- polyclipnp-0.7/polyclipNP.egg-info/top_level.txt +2 -0
- {polyclipnp-0.3 → polyclipnp-0.7}/polyclipNP.py +7 -11
- polyclipnp-0.7/polyclipNP_c.c +662 -0
- polyclipnp-0.7/polyclipNP_c_wrap.c +5057 -0
- polyclipnp-0.7/setup.py +21 -0
- polyclipnp-0.3/polyclipNP.egg-info/top_level.txt +0 -1
- polyclipnp-0.3/setup.py +0 -16
- {polyclipnp-0.3 → polyclipnp-0.7}/polyclipNP.egg-info/dependency_links.txt +0 -0
- {polyclipnp-0.3 → polyclipnp-0.7}/setup.cfg +0 -0
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
# This file was automatically generated by SWIG (
|
|
2
|
-
# Version 4.
|
|
1
|
+
# This file was automatically generated by SWIG (https://www.swig.org).
|
|
2
|
+
# Version 4.4.1
|
|
3
3
|
#
|
|
4
|
-
# Do not make changes to this file unless you know what you are doing
|
|
4
|
+
# Do not make changes to this file unless you know what you are doing - modify
|
|
5
5
|
# the SWIG interface file instead.
|
|
6
6
|
|
|
7
7
|
from sys import version_info as _swig_python_version_info
|
|
8
|
-
if _swig_python_version_info < (2, 7, 0):
|
|
9
|
-
raise RuntimeError("Python 2.7 or later required")
|
|
10
|
-
|
|
11
8
|
# Import the low-level C/C++ module
|
|
12
|
-
if __package__ or "." in __name__:
|
|
9
|
+
if getattr(globals().get("__spec__"), "parent", None) or __package__ or "." in __name__:
|
|
13
10
|
from . import _polyclipNP
|
|
14
11
|
else:
|
|
15
12
|
import _polyclipNP
|
|
@@ -29,10 +26,10 @@ def _swig_repr(self):
|
|
|
29
26
|
|
|
30
27
|
def _swig_setattr_nondynamic_instance_variable(set):
|
|
31
28
|
def set_instance_attr(self, name, value):
|
|
32
|
-
if name == "
|
|
33
|
-
self.this.own(value)
|
|
34
|
-
elif name == "this":
|
|
29
|
+
if name == "this":
|
|
35
30
|
set(self, name, value)
|
|
31
|
+
elif name == "thisown":
|
|
32
|
+
self.this.own(value)
|
|
36
33
|
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
|
|
37
34
|
set(self, name, value)
|
|
38
35
|
else:
|
|
@@ -65,4 +62,3 @@ class _SwigNonDynamicMeta(type):
|
|
|
65
62
|
def polyclip_multi4(len_l, len_r, len_b, len_t, len_px, len_py, n_poly, len_poly_inds, len_x, len_y, len_nclip_poly, len_areas, len_index):
|
|
66
63
|
return _polyclipNP.polyclip_multi4(len_l, len_r, len_b, len_t, len_px, len_py, n_poly, len_poly_inds, len_x, len_y, len_nclip_poly, len_areas, len_index)
|
|
67
64
|
|
|
68
|
-
|