- # @ingroup l3_hypos_blsurf
- def SetEnforcedVertex(self, theFace, x, y, z):
- if self.Parameters():
- # Parameter of BLSURF algo
- AssureGeomPublished( self.mesh, theFace )
- return self.params.SetEnforcedVertex(theFace, x, y, z)
-
- ## To set an enforced vertex as SetEnforcedVertex. The created enforced vertex is identified by a name.
- # @param theFace : GEOM face (or group, compound) on which to define an enforced vertex
- # @param x : x coordinate
- # @param y : y coordinate
- # @param z : z coordinate
- # @param vertexName : name of the enforced vertex
- # @ingroup l3_hypos_blsurf
- def SetEnforcedVertexNamed(self, theFace, x, y, z, vertexName):
- if self.Parameters():
- # Parameter of BLSURF algo
- AssureGeomPublished( self.mesh, theFace )
- return self.params.SetEnforcedVertexNamed(theFace, x, y, z, vertexName)
-
- ## To set an enforced vertex on a face (or group, compound) given a GEOM vertex, group or compound.
- # @param theFace : GEOM face (or group, compound) on which to define an enforced vertex
- # @param theVertex : GEOM vertex (or group, compound) to be projected on theFace.
- # @ingroup l3_hypos_blsurf
- def SetEnforcedVertexGeom(self, theFace, theVertex):
- if self.Parameters():
- # Parameter of BLSURF algo
- AssureGeomPublished( self.mesh, theFace )
- AssureGeomPublished( self.mesh, theVertex )
- return self.params.SetEnforcedVertexGeom(theFace, theVertex)
-
- ## To set an enforced vertex as SetEnforcedVertex and add it in the group "groupName".
- # @param theFace : GEOM face (or group, compound) on which to define an enforced vertex
- # @param x : x coordinate
- # @param y : y coordinate
- # @param z : z coordinate
- # @param groupName : name of the group
- # @ingroup l3_hypos_blsurf
- def SetEnforcedVertexWithGroup(self, theFace, x, y, z, groupName):
- if self.Parameters():
- # Parameter of BLSURF algo
- AssureGeomPublished( self.mesh, theFace )
- return self.params.SetEnforcedVertexWithGroup(theFace, x, y, z, groupName)
-
- ## To set an enforced vertex as SetEnforcedVertexNamed and add it in the group "groupName".
- # @param theFace : GEOM face (or group, compound) on which to define an enforced vertex
- # @param x : x coordinate
- # @param y : y coordinate
- # @param z : z coordinate