std::list <const SMESHDS_Hypothesis * >& aHypList,
const bool andAncestors) const;
- void SetNbElementsPerDiagonal(int nb) { _nbElemPerDiagonal = nb ;}
-
- int GetNbElementsPerDiagonal() { return _nbElemPerDiagonal; }
-
const std::list<SMESHDS_Command*> & GetLog() throw(SALOME_Exception);
void ClearLog() throw(SALOME_Exception);
bool _isAutoColor;
double _shapeDiagonal; //!< diagonal size of bounding box of shape to mesh
- int _nbElemPerDiagonal; //!< nb elements per diagonal
TopTools_IndexedDataMapOfShapeListOfShape _mapAncestors;
ASSERT(hyp);
_value[ BEG_LENGTH_IND ] = hyp->GetLength();
if ( hyp->GetUsePreestimatedLength() ) {
- if ( int nbSeg = aMesh.GetNbElementsPerDiagonal() )
+ if ( int nbSeg = aMesh.GetGen()->GetBoundaryBoxSegmentation() )
_value[ BEG_LENGTH_IND ] = aMesh.GetShapeDiagonalSize() / nbSeg;
}
ASSERT( _value[ BEG_LENGTH_IND ] > 0 );