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

View File

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