@@ -118,9 +118,8 @@ def __init__(self,
118118
119119 def _bspline_surface_from_face (self , face ):
120120 """
121- Takes a TopoDS_Face and transforms it into a Bspline_Surface.
122-
123- :face TopoDS_Face to be converted
121+ :param TopoDS_Face face: the input snapshots.
122+ :return: Takes a TopoDS_Face and transforms it into a Bspline_Surface.
124123 :rtype: Geom_BSplineSurface
125124 """
126125 if not isinstance (face , TopoDS_Face ):
@@ -136,9 +135,8 @@ def _bspline_surface_from_face(self, face):
136135
137136 def _bspline_curve_from_wire (self , wire ):
138137 """
139- Takes a TopoDS_Wire and transforms it into a Bspline_Curve.
140-
141- :wire TopoDS_Wire to be converted
138+ :param TopoDS_Wire wire: the wire to be converted.
139+ :return: Takes a TopoDS_Wire and transforms it into a Bspline_Curve.
142140 :rtype: Geom_BSplineCurve
143141 """
144142 if not isinstance (wire , TopoDS_Wire ):
@@ -178,9 +176,9 @@ def _bspline_curve_from_wire(self, wire):
178176
179177 def _enrich_curve_knots (self , bsp_curve ):
180178 """
181- Takes a Geom_BSplineCurve and adds self.t_knots_to_add poles to it .
182-
183- :bsp_curve Geom_BSplineCurve to be enriched
179+ :param Geom_BSplineCurve bsp_curve: Bspline curve to be enriched .
180+ :return: Takes a Geom_BSplineCurve and adds self.t_knots_to_add
181+ poles to it.
184182 """
185183 if not isinstance (bsp_curve , Geom_BSplineCurve ):
186184 raise TypeError ("bsp_curve must be a Geom_BSplineCurve" )
@@ -198,10 +196,9 @@ def _enrich_curve_knots(self, bsp_curve):
198196
199197 def _enrich_surface_knots (self , bsp_surface ):
200198 """
201- Takes a Geom_Bspline_Surface and adds self.u_knots_to_add
199+ :param Geom_BSplineSurface bsp_surface: Bspline curve to be enriched.
200+ :return: Takes a Geom_Bspline_Surface and adds self.u_knots_to_add
202201 and self.v_knots_to_add knots to it in u and v direction respectively.
203-
204- :bsp_surface Geom_Bspline_Surface to be enriched
205202 """
206203 if not isinstance (bsp_surface , Geom_BSplineSurface ):
207204 raise TypeError ("bsp_surface must be a Geom_BSplineSurface" )
@@ -220,9 +217,8 @@ def _enrich_surface_knots(self, bsp_surface):
220217
221218 def _deform_bspline_curve (self , bsp_curve ):
222219 """
223- Takes a Geom_Bspline_Curve and deforms it through FFD.
224-
225- :bsp_curve Geom_Bspline_Curve to be deformed
220+ :param Geom_BSplineCurve bsp_curve: Bspline curve to be deformed.
221+ :return: Takes a Geom_BSplineCurve and deforms it through FFD.
226222 """
227223 if not isinstance (bsp_curve , Geom_BSplineCurve ):
228224 raise TypeError ("bsp_curve must be a Geom_BSplineCurve" )
@@ -256,9 +252,8 @@ def _deform_bspline_curve(self, bsp_curve):
256252
257253 def _deform_bspline_surface (self , bsp_surface ):
258254 """
259- Takes a Geom_Bspline_Surface and deforms it through FFD.
260-
261- :bsp_surface Geom_Bspline_Surface to be deformed
255+ :param Geom_BSplineSurface bsp_surface: Bspline curve to be deformed.
256+ :return: Takes a Geom_BSplineSurface and deforms it through FFD.
262257 """
263258 if not isinstance (bsp_surface , Geom_BSplineSurface ):
264259 raise TypeError ("bsp_surface must be a Geom_BSplineSurface" )
@@ -298,7 +293,7 @@ def _deform_bspline_surface(self, bsp_surface):
298293
299294 def __call__ (self , obj , dst = None ):
300295 """
301- This method performs the deformation on the CAD file.
296+ :return: This method performs the deformation on the CAD file.
302297 """
303298
304299 # Manage input
0 commit comments