Commit 230a383
peng.li24
refactor: numpycpp-style native/pycpp split, remove _impl.h, drop non-Python APIs
- shapely/geometry/*.h: pure native C++ (zero pybind11), raw pointer ctors
- shapely/ops/nearest_points.h: native ops
- Deleted old geometry/, ops/ dirs (pybind11-dependent)
- Deleted ext/distance_to_multigeom (not in Python shapely)
- Deleted Polygon::exterior_coords(), intersection_area() (not in Python)
- Renamed Point::x_/y_ to x/y
- All _impl.h merged into single headers (matching numpycpp pattern)
- Fixed abbreviated variable names, added per-function Python source comments
- All 101 tests pass1 parent 5535521 commit 230a383
19 files changed
Lines changed: 823 additions & 992 deletions
File tree
- example
- geometry
- ops
- shapely
- geometry
- ops
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
87 | 82 | | |
88 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments