offset

This function creates a new curve, offset along the curve normals, at distance d. Note that deep magic lies here and the offset curve of a Bézier curve cannot ever be another Bézier curve.

As such, this function "cheats" and yields an array of curves which, taken together, form a single continuous curve equivalent to what a theoretical offset curve would be.


fun offset(t: Ratio, d: Double): Point

A coordinate is returned, representing the point on the curve at t=..., offset along its normal by a distance d