Expand description
Split, trim and extend for lines, arcs, circles and line/arc polylines.
Supported classes (anything else returns GeometryError::UnsupportedOperation):
| operation | line | arc | circle | open polyline | closed polyline | path/polygon/rect/text |
|---|---|---|---|---|---|---|
| split | yes | yes | two points | yes | yes (opens it) | no |
| trim | yes | yes | yes | yes | no | no |
| extend | yes | yes | n/a | end segments | n/a | no |
Enums§
- Curve
End - Which end of an open curve.
Functions§
- extend
- Extend one end of a line/arc/open polyline to the nearest boundary.
- split_
at - Split a shape at the point on it closest to
at. - split_
circle - Split a circle into two arcs at the points closest to
aandb. - trim
- Trim: remove the piece of
targetbetween the cutting intersections that surroundpick. Returns the remaining pieces (possibly none).