0020327: EDF 1018 GEOM : Missing MakeTangentPlaneOnFace in geompy

This commit is contained in:
dmv 2009-06-05 08:48:52 +00:00
parent 615e23820b
commit fb601e2825

View File

@ -404,13 +404,14 @@ class geompyDC(GEOM._objref_GEOM_Gen):
RaiseIfFailed("MakeTangentOnCurve", self.BasicOp) RaiseIfFailed("MakeTangentOnCurve", self.BasicOp)
return anObj return anObj
## Create a tangent plane to specified face in the point with specified parameters. ## Create a tangent plane, corresponding to the given parameter on the given face.
# @param theFace - face for which tangent plane shuold be built. # @param theFace The face for which tangent plane should be built.
# @param theParameterU - value of parameter by U # @param theParameterV vertical value of the center point (0.0 - 1.0).
# @param theParameterV - value of parameter Vthe # @param theParameterU horisontal value of the center point (0.0 - 1.0).
# @param theTrimSize - defines sizes of created face # @param theTrimSize the size of plane.
# Values of parameters should be between 0. and 1.0 # @return New GEOM_Object, containing the created tangent.
# return New GEOM_Object, containing the face built on tangent plane. #
# @ref swig_MakeTangentPlaneOnFace "Example"
def MakeTangentPlaneOnFace(self, theFace, theParameterU, theParameterV, theTrimSize): def MakeTangentPlaneOnFace(self, theFace, theParameterU, theParameterV, theTrimSize):
anObj = self.BasicOp.MakeTangentPlaneOnFace(theFace, theParameterU, theParameterV, theTrimSize) anObj = self.BasicOp.MakeTangentPlaneOnFace(theFace, theParameterU, theParameterV, theTrimSize)
RaiseIfFailed("MakeTangentPlaneOnFace", self.BasicOp) RaiseIfFailed("MakeTangentPlaneOnFace", self.BasicOp)