The abstract class Geom2dCurve is the root class of all curve objects. Changes the direction of parametrization of the curve. Return the shape for the geometry. Discretizes the curve and returns a list of points. The function accepts keywords as argument: discretize(Number=n) => gives a list of 'n' equidistant points discretize(QuasiNumber=n) => gives a list of 'n' quasi equidistant points (is faster than the method above) discretize(Distance=d) => gives a list of equidistant points with distance 'd' discretize(Deflection=d) => gives a list of points with a maximum deflection 'd' to the curve discretize(QuasiDeflection=d) => gives a list of points with a maximum deflection 'd' to the curve (faster) discretize(Angular=a,Curvature=c,[Minimum=m]) => gives a list of points with an angular deflection of 'a' and a curvature deflection of 'c'. Optionally a minimum number of points can be set which by default is set to 2. Optionally you can set the keywords 'First' and 'Last' to define a sub-range of the parameter range of the curve. If no keyword is given then it depends on whether the argument is an int or float. If it's an int then the behaviour is as if using the keyword 'Number', if it's float then the behaviour is as if using the keyword 'Distance'. Example: import Part c=PartGeom2d.Circle2d() c.Radius=5 p=c.discretize(Number=50,First=3.14) s=Part.Compound([Part.Vertex(i) for i in p]) Part.show(s) p=c.discretize(Angular=0.09,Curvature=0.01,Last=3.14,Minimum=100) s=Part.Compound([Part.Vertex(i) for i in p]) Part.show(s) Computes the length of a curve length([uMin,uMax,Tol]) -> Float Returns the parameter on the curve of a point at the given distance from a starting parameter. parameterAtDistance([abscissa, startingParameter]) -> Float the Computes the point of parameter u on this curve Computes the tangent of parameter u on this curve Returns the parameter on the curve of the nearest orthogonal projection of the point. Vector = normal(pos) - Get the normal vector at the given parameter [First|Last] if defined Float = curvature(pos) - Get the curvature at the given parameter [First|Last] if defined Vector = centerOfCurvature(float pos) - Get the center of curvature at the given parameter [First|Last] if defined Returns all intersection points between this curve and the given curve. Converts a curve of any type (only part from First to Last) toBSpline([Float=First, Float=Last]) -> B-Spline curve Approximates a curve of any type to a B-Spline curve approximateBSpline(Tolerance, MaxSegments, MaxDegree, [Order='C2']) -> B-Spline curve Returns the global continuity of the curve. Returns true if the curve is closed. Returns true if the curve is periodic. Returns the value of the first parameter. Returns the value of the last parameter.