mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-05-05 16:20:48 +05:00
fix comment
This commit is contained in:
parent
45fd4efb6f
commit
26a6f60422
@ -410,7 +410,7 @@ namespace
|
|||||||
int nbBlocks = 0;
|
int nbBlocks = 0;
|
||||||
while ( nbBlockSides >= 6 )
|
while ( nbBlockSides >= 6 )
|
||||||
{
|
{
|
||||||
// get any side not bound to all blocks to belongs to
|
// get any side not bound to all blocks it belongs to
|
||||||
sideIt = _allSides.begin();
|
sideIt = _allSides.begin();
|
||||||
while ( sideIt != _allSides.end() && sideIt->isBound())
|
while ( sideIt != _allSides.end() && sideIt->isBound())
|
||||||
++sideIt;
|
++sideIt;
|
||||||
@ -633,10 +633,7 @@ namespace
|
|||||||
gp_XYZ gc;
|
gp_XYZ gc;
|
||||||
for (int i = 0; i < B_UNDEFINED; ++i )
|
for (int i = 0; i < B_UNDEFINED; ++i )
|
||||||
if ( block._side[ i ] )
|
if ( block._side[ i ] )
|
||||||
{
|
|
||||||
gc += block._side[ i ]._side->getGC();
|
gc += block._side[ i ]._side->getGC();
|
||||||
nbLoadedSides++;
|
|
||||||
}
|
|
||||||
gc /= nbLoadedSides;
|
gc /= nbLoadedSides;
|
||||||
|
|
||||||
gp_XYZ p1 ( n1->X(),n1->Y(),n1->Z()), p2 (n2->X(),n2->Y(),n2->Z());
|
gp_XYZ p1 ( n1->X(),n1->Y(),n1->Z()), p2 (n2->X(),n2->Y(),n2->Z());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user