From: Krzysztof K. <twe...@gm...> - 2013-11-13 16:58:00
|
2013/11/13 Johan Engelen <jbc...@sw...>: > This is not possible. Because curves are not closed under Affine transform, > there is no operator*=(Affine). If you want to transform a Curve, you have > to call > Curve* Curve::transformed(Affine const&) > > I'll clean up the work and commit my changes, so you can see. Oops, I forgot about HLineSegment / VLineSegment. I wonder whether keeping these as separate classes is worth breaking the assumption that curves are closed under arbitrary affines, not only translation and scaling. Regards, Krzysztof |