Boost logo

Geometry :

Subject: [ggl] Efficient rotation about a point
From: Mateusz Loskot (mateusz)
Date: 2009-12-01 13:52:27


Barend Gehrels wrote:
>> Thanks Barend, Stephen.
>>
>> Barend, since GGL transformers aren't composable, wouldn't it be right
>> for GGL to provide some type of transformer taking a matrix as its
>> constructor parameter?
>
> Yes, I think that is a good idea. Will be solved (either done, or maybe
> they should be composable).

I was thinking about it yesterday.

For now, wouldn't it be sufficient to use ublas_transformer
and enable compositions [1] with a simple custom matrix [2] in similar
manner as Boost.GIL does it.

[1] http://www.boost.org/doc/libs/1_41_0/libs/gil/example/affine.cpp
[2]
http://www.koders.com/cpp/fidEE0E20E57D2E5FCE4EE30F3AF143F5E78A7749B3.aspx

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net

Geometry list run by mateusz at loskot.net