NPAL17873. Update smesh.py: add precision parameter to LocalLength method.

This commit is contained in:
jfa 2008-02-06 09:41:21 +00:00
parent 553205962e
commit 434772a02f

View File

@ -1461,9 +1461,11 @@ class Mesh_RadialPrism3D(Mesh_Algorithm):
## Define "LocalLength" hypothesis, specifying segment length
# to build between the inner and outer shells
# @param l for the length of segments
def LocalLength(self, l):
hyp = self.OwnHypothesis("LocalLength", [l])
# @param p for the precision of rounding
def LocalLength(self, l, p=1e-07):
hyp = self.OwnHypothesis("LocalLength", [l,p])
hyp.SetLength(l)
hyp.SetPrecision(p)
return hyp
## Define "NumberOfSegments" hypothesis, specifying a number of layers of