Arc
Module Geometry.Arcs
In ixfx, a circle is simply an object with radius
, or if it’s positioned it also has coordinates:
Once you have that there are a bunch of functions to help you work with arcs.
- bbox - compute bounding box
- distanceCenter - compute distance of centers of two arcs
- fromDegrees - Make an arc using degree angles
- interpolate - compute relative position along circumference
- length - compute length of arc
- point - calculate a coordinate of arc based on angle
- toLine - returns a Line connecting start and end points of arc