Re: [eigen] Re: proposal: call the Geometry module experimental

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


On Fri, Jan 23, 2009 at 8:07 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
> 2009/1/23 Gael Guennebaud <gael.guennebaud@xxxxxxxxx>:
>> yes I agree the current Scaling is somewhat limited. What about the
>> following proposal:
>>
>> 1 - rename Translation TranslationProxy and slit Scaling in
>> UniformScaling, AxisAlignedScaling and GenericScaling.
>
> I'm not favorable to GenericScaling. What is a GenericScaling? it's
> just a self-adjoint matrix. The two notions are equivalent (hint:
> diagonalize your selfadjoint matrix, now it looks like a scaling...)
> If people want to multiply a transform by a GenericScaling they should
> just multiply by that matrix.

yes sure there is no need to have a GenericScaling stuff....

>> 2 - Add the global functions Translation and Scaling which would
>> auto-magically instanciate the correct proxy type.
>
> Aaaah this is the definitive solution. Decouple the actual class from
> the name that the user sees.
> Then if you add the Proxy suffix for translation for coherence we
> should add it to the scaling types too?

I added Proxy to Translation because I wanted to have Translation as a
global function, but perhaps there would be a better name for that
class. For "axis-aligned-scaling", if we agree that AlignedBox is
explicit enough, then AlignedScaling should be ok too, but of course
AxisAlignedBox and AxisAlignedScaling are more explicit.

> Also:
>
> Can a Native English Speaker (tm) here tell us how good/bad
> AxisAlignedScaling sounds? The same usage of the word Aligned can also
> be found in our AlignedBox class. It is meant as "oriented along the
> standard axes". Is that correct?
>
> Can we say that the very existence of this discussion is a good reason
> to mark the whole Geometry module as experimental?
> (Still doing our best to preserve compatibility for existing projects) ?

as long as people don't use Translation and Scaling for storage then
I'm pretty sure we'll keep API compatibility for them.

gael.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/