Cuts a piece out of a 2D curve between the parameters u1 and u2.
On a closed curve such as a circle the parameters run around it, so a trimmed circle is an arc. The result cannot be drawn on its own.
The 2D curve, the two parameters and the trimming options
The trimmed 2D curve
Evaluates a 2D curve at a parameter and returns the 2D point there.
The parameter is in the curve's own range, not a fraction: a circle runs from 0 to two pi, a segment from 0 to its length.
The 2D curve and the parameter
The point as two numbers
Creates a 2D ellipse curve in a plane, for constructions in the UV space of a surface.
direction is the direction of the major axis; radiusMajor must be at least radiusMinor,
and sense flips the curve's direction. The curve cannot be drawn; wrap it with
shapes.edge.makeEdgeFromGeom2dCurveAndSurface.
The center, the major axis direction, the two radii and the direction sense
The 2D ellipse curve
Creates a straight 2D curve segment between two 2D points, for constructions in the UV space of a surface.
The segment cannot be drawn on its own.
The start and end points
The 2D segment curve
Creates a full circle as a closed single-edge wire, lying in the plane whose normal is
direction.
The same as shapes.wire.createCircleWire, kept here beside the 2D curves.
The circle wire
Creates a full ellipse as a closed single-edge wire, lying in the plane whose normal is
direction.
The same as shapes.wire.createEllipseWire, kept here beside the 2D curves; radiusMajor
must not be smaller than radiusMinor.
The center, the plane normal and the two radii
The ellipse wire
Construction curves of OpenCascade: 2D curves in a plane or in the UV space of a surface (circles, ellipses, segments, trimmed pieces), which feed
shapes.edge.makeEdgeFromGeom2dCurveAndSurface, and circle and ellipse wires. The 2D curves have no topology and cannot be drawn; a point on them is read withget2dPointFrom2dCurveOnParam.