
18 Apr
2012
18 Apr
'12
1:51 p.m.
Further to my last point - introspection is "controversial" for Shapes if you have a concrete representation anyway: If you want to make an ellipse you can non-uniformly scale a circle[*], but if you only have a query for radius you can't do edge detection on an ellipse; you might end up needing to store radius plus a list of all the affine transformations you have applied. [*] There is also the problem that a circle isn't a circle once it has been non-uniformly scaled...