fix: add <fstream> include to 3mf test
CI / Build & Test (push) Failing after 17m0s
CI / Release Build (push) Failing after 24s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled

This commit is contained in:
茂之钳
2026-07-24 11:37:06 +00:00
parent 7c2fb4b7c3
commit f4e34d36cc
3 changed files with 57 additions and 3 deletions
+1 -3
View File
@@ -280,7 +280,6 @@ NurbsSurface coons_patch(const NurbsCurve& curve_u0,
// v=1 edge: u1 curve CPs
for (int i = 0; i < nu; ++i) {
double u_i = gu[i];
// v=0 edge
grid[i][0] = cp_u0[i];
w[i][0] = i < static_cast<int>(w_u0.size()) ? w_u0[i] : 1.0;
@@ -289,7 +288,6 @@ NurbsSurface coons_patch(const NurbsCurve& curve_u0,
w[i][nv - 1] = i < static_cast<int>(w_u1.size()) ? w_u1[i] : 1.0;
}
for (int j = 0; j < nv; ++j) {
double v_j = gv[j];
// u=0 edge
grid[0][j] = cp_v0[j];
w[0][j] = j < static_cast<int>(w_v0.size()) ? w_v0[j] : 1.0;
@@ -306,8 +304,8 @@ NurbsSurface coons_patch(const NurbsCurve& curve_u0,
// Interior points via bilinear blending (Coons formula)
for (int i = 1; i < nu - 1; ++i) {
double u_i = gu[i];
for (int j = 1; j < nv - 1; ++j) {
double u_i = gu[i];
double v_j = gv[j];
// S(u,v) = (1-u)*C_v0(v) + u*C_v1(v)