parameterization

This commit is contained in:
Andreas Fabri 2022-10-13 07:40:08 +01:00
parent 32efdd9110
commit 10c5d59d71
2 changed files with 0 additions and 7 deletions

View File

@ -560,7 +560,6 @@ private:
Error_code status = OK; Error_code status = OK;
// compute A // compute A
unsigned int count = 0;
for(vertex_descriptor vd : vertices) { for(vertex_descriptor vd : vertices) {
if(!get(vpmap, vd)) { // not yet parameterized if(!get(vpmap, vd)) { // not yet parameterized
// Compute the line i of the matrix A // Compute the line i of the matrix A
@ -570,7 +569,6 @@ private:
} else { // fixed vertices } else { // fixed vertices
int index = get(vimap, vd); int index = get(vimap, vd);
A.set_coef(index, index, 1, true /*new*/); A.set_coef(index, index, 1, true /*new*/);
++count;
} }
} }
return status; return status;
@ -1079,7 +1077,6 @@ private:
// Initialize the right hand side B in the linear system "A*X = B" // Initialize the right hand side B in the linear system "A*X = B"
Error_code status = OK; Error_code status = OK;
unsigned int count = 0;
for(vertex_descriptor vd : vertices) { for(vertex_descriptor vd : vertices) {
if(!get(vpmap, vd)) { // not yet parameterized if(!get(vpmap, vd)) { // not yet parameterized
// Compute the lines i of the vectors Bu and Bv // Compute the lines i of the vectors Bu and Bv
@ -1092,7 +1089,6 @@ private:
const Point_2& uv = get(uvmap, vd); const Point_2& uv = get(uvmap, vd);
Bu.set(index, uv.x()); Bu.set(index, uv.x());
Bv.set(index, uv.y()); Bv.set(index, uv.y());
++count;
} }
} }
return status; return status;

View File

@ -255,7 +255,6 @@ public:
main_border.insert(v); main_border.insert(v);
} }
int count = 0;
for(vertex_descriptor v : vertices){ for(vertex_descriptor v : vertices){
// inner vertices only // inner vertices only
if(main_border.find(v) == main_border.end()){ if(main_border.find(v) == main_border.end()){
@ -263,8 +262,6 @@ public:
status = setup_inner_vertex_relations(A, Bu, Bv, mesh, v, vimap); status = setup_inner_vertex_relations(A, Bu, Bv, mesh, v, vimap);
if(status != OK) if(status != OK)
return status; return status;
} else {
count++;
} }
} }