adapted connected components functions to polygonal meshes
This commit is contained in:
parent
0b7528ee7d
commit
5c2843b6a9
|
@ -55,7 +55,7 @@ public:
|
|||
{
|
||||
FacePointer fpt=sf.top();
|
||||
sf.pop();
|
||||
for(int j=0;j<3;++j)
|
||||
for(int j=0; j<fpt->VN(); ++j)
|
||||
if( !face::IsBorder(*fpt,j) )
|
||||
{
|
||||
FacePointer l=fpt->FFp(j);
|
||||
|
@ -1059,7 +1059,7 @@ public:
|
|||
fpt=sf.top();
|
||||
++CCV.back().first;
|
||||
sf.pop();
|
||||
for(int j=0;j<3;++j)
|
||||
for(int j=0; j<fpt->VN(); ++j)
|
||||
{
|
||||
if( !face::IsBorder(*fpt,j) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue