Affine transforms - matrix algebra

Martin Desruisseaux martin.desruisseaux at
Thu Jul 12 10:22:57 PDT 2012

Le 12/07/12 17:15, Pavel Safrata a écrit :
> Should the array-accepting methods accept also arrays of length 6 
> (containing only 2D-relevant elements)?
I don't see any objection.

> Should the array-returning methods return 12 elements or 16?
I don't see an obvious answer... Maybe the following method:

> public double[] toArray(double[] a) 

could accept both. But I'm not sure what should be the default behavior 
when no destination array is given. Or maybe we could avoid the question 
by making the destination array mandatory.


More information about the openjfx-dev mailing list