Adds points to the end of an open 2D path, giving a longer copy.
Only X and Y of each point are used and repeated consecutive points are removed; a closed path throws an error.
The 2D path and the points to add
The extended 2D path
Adds the points of a polyline to the end of an open 2D path, giving a longer copy.
Only X and Y of each point are used and repeated consecutive points are removed; a closed path throws an error.
The 2D path and the polyline to add
The extended 2D path
Adds an elliptical arc from the last point of an open 2D path to endPoint, giving a longer
copy.
radiusX and radiusY size the ellipse and xAxisRotation tilts it in degrees; clockwise
and large pick one of the four arcs that fit, and radii too small to reach the end point
are scaled up.
The 2D path, the end point, the two radii, the tilt, the arc choice and the segment count
The extended 2D path
Makes an empty open 2D path with no points, a starting point for appendPoints,
appendPolyline and appendArc.
The empty 2D path
Closes an open 2D path by joining its last point back to its first, giving a closed copy; a path that is already closed comes back closed.
A 2D shape or a solid throws an error.
The 2D path
The closed 2D path
Builds a 2D path through the points in order, open or closed back to the first point as
closed says.
Only X and Y of each point are used and repeated consecutive points are removed.
The points and whether to close the path
The 2D path
Builds one 2D path per list of points, in the same order; a list whose last point coincides with its first becomes a closed path, any other stays open.
Only X and Y of each point are used and repeated consecutive points are removed.
The lists of points
One 2D path per list
Builds a 2D path through the points of a polyline, open or closed back to the first point as
closed says, whatever the polyline's own flag holds.
Only X and Y of each point are used and repeated consecutive points are removed.
The polyline and whether to close the path
The 2D path
Building JSCAD paths, the 2D polylines that walls are extruded along, offsets follow and filled shapes are closed from. A path lies in the XY plane and is open or closed; it grows by appending points, polylines and arcs to its end, and a closed path accepts nothing more. Points given in 3D keep only X and Y.