Path
Module Geometry.Paths
In ixfx, a Type Paths.Path is an object typically derived from some other shape. It describes a directed path.
The basic functions are:
- bbox - calculate enclosing rectangle
- distanceToPoint - calculate distance to some point
- interpolate - interpolate along path
- length - compute length
- nearest - nearest point on path to given point
- relativePosition - compute ‘progress’ along path at point ‘a’
Create with:
- Lines.toPath which returns a Type Lines.LinePath
- Arcs.toPath
- Circles.toPath