rnc: Added UnsetAttractorGeom method in smeshDC.py

This commit is contained in:
gdd 2011-05-13 13:01:16 +00:00
parent ddcd8d1f3c
commit 5ce2cca1f9

View File

@ -5062,7 +5062,15 @@ class Mesh_Triangle(Mesh_Algorithm):
self.AssureGeomPublished( theFace )
self.AssureGeomPublished( theAttractor )
# Parameter of BLSURF algo
self.Parameters().SetAttractorGeom(otheFace, theAttractor, theStartSize, theEndSize, theInfluenceDistance, theConstantSizeDistance)
self.Parameters().SetAttractorGeom(theFace, theAttractor, theStartSize, theEndSize, theInfluenceDistance, theConstantSizeDistance)
## Unsets an attractor on the chosen face.
# @param theFace : face on which the attractor has to be removed
# @ingroup l3_hypos_blsurf
def UnsetAttractorGeom(self, theFace):
self.AssureGeomPublished( theFace )
# Parameter of BLSURF algo
self.Parameters().SetAttractorGeom(theFace)
## Sets QuadAllowed flag.
# Only for algoType == NETGEN(NETGEN_1D2D) || NETGEN_2D || BLSURF