Affine transforms - matrix algebra

Martin Desruisseaux martin.desruisseaux at geomatys.fr
Fri Aug 17 02:17:45 PDT 2012


Oups! I forgot that they were setter methods working with matrix 
indices, which make may point less useful. Sorry for the noise...


Le 17/08/12 18:14, Martin Desruisseaux a écrit :
> Just for the record, there is an other use case in favour of arrays. I 
> have found the following pattern quite common:
>
> * Get the matrix coefficients as an array.
> * Update just a few coefficients in a way that can't be done easily 
> with the standard scale/translate methods.
> * Set the matrix coefficients to the updated array.
>
> So working with arrays avoid the need to deal with 12 coefficients 
> when we want to update only 1 or 2 of them and leave the other unchanged.



More information about the openjfx-dev mailing list