[PD] bbox for an ellipse

Jonathan Wilkes jancsika at yahoo.com
Sat Jan 11 08:25:25 CET 2014

Hi list,
 Anyone know a straightforward way to find the axis-aligned bounding box for an ellipse given:
* center x
* center y
* radius x
* radius y
* arbitrary affine transformation applied using an svg-style 3x3 matrix

Right now I'm just doing the trivial calculation for the bbox of the untransformed ellipse, then multiplying the matrix times those coordinates.  That gives me a box that includes the ellipse, but I'd like to get the tightest fitting one.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140110/68dcace3/attachment.htm>

More information about the Pd-list mailing list