Commit 9f01f3a
committed
Refactor and enhance curve-surface intersection module:
- Remove unused functions and imports to streamline `_ncsx2.py`.
- Introduce modular functions for overlap merging, isolated point handling, and improved global parameter mapping.
- Optimize NURBS curve and surface routines for better precision and rational handling.
- Replace redundant logic with reusable structured functions to improve readability and maintainability.1 parent 0563bc9 commit 9f01f3a
3 files changed
Lines changed: 367 additions & 629 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
| 236 | + | |
255 | 237 | | |
256 | 238 | | |
257 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
| 550 | + | |
| 551 | + | |
551 | 552 | | |
552 | 553 | | |
553 | | - | |
| 554 | + | |
| 555 | + | |
554 | 556 | | |
555 | 557 | | |
556 | 558 | | |
| |||
768 | 770 | | |
769 | 771 | | |
770 | 772 | | |
| 773 | + | |
771 | 774 | | |
772 | 775 | | |
773 | 776 | | |
| |||
1192 | 1195 | | |
1193 | 1196 | | |
1194 | 1197 | | |
1195 | | - | |
| 1198 | + | |
1196 | 1199 | | |
1197 | 1200 | | |
1198 | 1201 | | |
| |||
1224 | 1227 | | |
1225 | 1228 | | |
1226 | 1229 | | |
1227 | | - | |
| 1230 | + | |
1228 | 1231 | | |
1229 | 1232 | | |
1230 | 1233 | | |
| |||
1429 | 1432 | | |
1430 | 1433 | | |
1431 | 1434 | | |
| 1435 | + | |
1432 | 1436 | | |
1433 | 1437 | | |
1434 | 1438 | | |
| |||
0 commit comments