]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0020327: EDF 1018 GEOM : Missing MakeTangentPlaneOnFace in geompy
authordmv <dmv@opencascade.com>
Mon, 27 Apr 2009 11:34:36 +0000 (11:34 +0000)
committerdmv <dmv@opencascade.com>
Mon, 27 Apr 2009 11:34:36 +0000 (11:34 +0000)
src/GEOM_SWIG/geompyDC.py

index d4fc3a2d9ba179708fb445d8ee9a8cebb8d5f960..889d0b69e7be0e44f9b5e06cedc0587e232139cd 100644 (file)
@@ -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.