From: gdd Date: Mon, 5 Sep 2011 08:28:28 +0000 (+0000) Subject: rnc : updated documentation of MakeCurveParametric X-Git-Tag: Before_opencv_branch_20110913~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=984666cb57e2362d6e4f55822fd3e4a698a19955;p=modules%2Fgeom.git rnc : updated documentation of MakeCurveParametric --- diff --git a/doc/salome/gui/GEOM/input/creating_curve.doc b/doc/salome/gui/GEOM/input/creating_curve.doc index aa3019d69..9c3371826 100644 --- a/doc/salome/gui/GEOM/input/creating_curve.doc +++ b/doc/salome/gui/GEOM/input/creating_curve.doc @@ -86,10 +86,10 @@ types of curves.
  • X(t)equation, Y(t)equation, Z(t)equation are python expressions for X, Y and Z coordinates of the basic points of the curve.
  • Min t, Max t are minimum and maximum values of the parameter \b t.
  • -
  • Step is the step of the parameter \b t.
  • +
  • Step is the number of steps of the parameter \b t.
  • -\n TUI Command: geompy.MakeCurveParametric(XExpr, YExpt, ZExpt, tMin, tMax, tStep, curveType) +\n TUI Command: geompy.MakeCurveParametric(XExpr, YExpt, ZExpt, tMin, tMax, nbSteps, curveType, True) \nAdvanced options \ref preview_anchor "Preview" diff --git a/doc/salome/gui/GEOM/input/tui_basic_geom_objs.doc b/doc/salome/gui/GEOM/input/tui_basic_geom_objs.doc index 45136089e..0cb092228 100644 --- a/doc/salome/gui/GEOM/input/tui_basic_geom_objs.doc +++ b/doc/salome/gui/GEOM/input/tui_basic_geom_objs.doc @@ -230,13 +230,13 @@ bezier = geompy.MakeBezier([p0, p1, p2, p3, p4]) interpol = geompy.MakeInterpol([p0, p1, p2, p3, p4], False) #create a polyline using parametric definition of the basic points -param_polyline = geompy.MakeCurveParametric("t", "sin(t)", "cos(t)", 0., 100., 5., geompy.GEOM.Polyline) +param_polyline = geompy.MakeCurveParametric("t", "sin(t)", "cos(t)", 0., 100., 100, geompy.GEOM.Polyline, theNewMethod=True) # create a bezier curve using parametric definition of the basic points -param_bezier = geompy.MakeCurveParametric("t", "sin(t)", "cos(t)", 0., 100., 5., geompy.GEOM.Bezier) +param_bezier = geompy.MakeCurveParametric("t", "sin(t)", "cos(t)", 0., 100., 100, geompy.GEOM.Bezier, theNewMethod=True) #create a b-spline curve using parametric definition of the basic points -param_interpol = geompy.MakeCurveParametric("t", "sin(t)", "cos(t)", 0., 100., 5., geompy.GEOM.Interpolation) +param_interpol = geompy.MakeCurveParametric("t", "sin(t)", "cos(t)", 0., 100., 100, geompy.GEOM.Interpolation, theNewMethod=True)