X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=idl%2FSMESH_BasicHypothesis.idl;h=fd33d9395f12396d8de332096974b6e23069496b;hb=c10193fae6b80027ca1d44e7c7778a97ff7f9f01;hp=9fe9370eea7a0d1775fd275e5bb4c21c65acd20b;hpb=eb49563f141b25a1d355abdb6b21ba75a55d5470;p=modules%2Fsmesh.git diff --git a/idl/SMESH_BasicHypothesis.idl b/idl/SMESH_BasicHypothesis.idl index 9fe9370ee..fd33d9395 100644 --- a/idl/SMESH_BasicHypothesis.idl +++ b/idl/SMESH_BasicHypothesis.idl @@ -45,11 +45,31 @@ module StdMeshers */ void SetLength(in double length) raises (SALOME::SALOME_Exception); - + + /*! + * Sets parameter value + * + * Precision parameter is used to allow rounding a number of segments, + * calculated from the edge length and average length of segment, + * to the lower integer, if this value outstands from it in bounds of the precision. + * Otherwise, the number of segments is rounded to the higher integer. + * Use value 0.5 to provide rounding to the nearest integer, + * 1.0 for the lower integer, 0.0 for the higher integer. + * Default value is 1e-07. In old studies, restored from file, + * this value will be set to zero, what corresponds to the old behaviour. + */ + void SetPrecision(in double precision) + raises (SALOME::SALOME_Exception); + /*! * Returns parameter value */ double GetLength(); + + /*! + * Returns parameter value + */ + double GetPrecision(); }; /*!