From: dmv Date: Mon, 27 Apr 2009 11:34:36 +0000 (+0000) Subject: 0020327: EDF 1018 GEOM : Missing MakeTangentPlaneOnFace in geompy X-Git-Tag: V4_1_0_maintainance_FINAL~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c6f502ec7bd6bb194bf53fffb34f1d3233800ccd;p=modules%2Fgeom.git 0020327: EDF 1018 GEOM : Missing MakeTangentPlaneOnFace in geompy --- diff --git a/src/GEOM_SWIG/geompyDC.py b/src/GEOM_SWIG/geompyDC.py index d4fc3a2d9..889d0b69e 100644 --- a/src/GEOM_SWIG/geompyDC.py +++ b/src/GEOM_SWIG/geompyDC.py @@ -320,6 +320,19 @@ class geompyDC(GEOM._objref_GEOM_Gen): anObj = self.BasicOp.MakeTangentOnCurve(theRefCurve, theParameter) RaiseIfFailed("MakeTangentOnCurve", self.BasicOp) return anObj + + ## Create a tangent plane to specified face in the point with specified parameters. + # @param theFace - face for which tangent plane shuold be built. + # @param theParameterU - value of parameter by U + # @param theParameterV - value of parameter Vthe + # @param theTrimSize - defines sizes of created face + # Values of parameters should be between 0. and 1.0 + # return New GEOM_Object, containing the face built on tangent plane. + def MakeTangentPlaneOnFace(self, theFace, theParameterU, theParameterV, theTrimSize): + anObj = self.BasicOp.MakeTangentPlaneOnFace(theFace, theParameterU, theParameterV, theTrimSize) + RaiseIfFailed("MakeTangentPlaneOnFace", self.BasicOp) + return anObj + ## Create a vector with the given components. # @param theDX X component of the vector.