fixed bug in perimeter computation
This commit is contained in:
parent
1f75de3df3
commit
1d082b7fbe
|
@ -285,7 +285,7 @@ public:
|
||||||
for (int k=0; k<f.VN(); k++)
|
for (int k=0; k<f.VN(); k++)
|
||||||
if (face::IsBorder(f, k))
|
if (face::IsBorder(f, k))
|
||||||
{
|
{
|
||||||
sum += Distance(f.cP(k), f.cP(1));
|
sum += Distance(f.cP0(k), f.cP1(k));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return sum;
|
return sum;
|
||||||
|
|
Loading…
Reference in New Issue