linebender / kurbo

A Rust library for manipulating curves
Apache License 2.0
716 stars 69 forks source link

`CircleSegment`: Add `inner_arc` and `outer_arc` #368

Closed waywardmonkeys closed 2 months ago

waywardmonkeys commented 2 months ago

Draft because:

waywardmonkeys commented 2 months ago

I thought it might be useful to have the line for the inner and outer chords ... but if we expose inner / outer start and end points (rather than just center + radius + angle), then we can more readily construct whatever.

waywardmonkeys commented 2 months ago

(but we could also do that from the arc ... let the arc expose start / end points or a chord)