## mpicbg.models Interface Affine3D<T extends Affine3D<T>>

All Superinterfaces:
CoordinateTransform, InverseCoordinateTransform, InvertibleCoordinateTransform, Serializable
All Known Implementing Classes:
AbstractAffineModel3D, AffineModel3D, IdentityModel, InterpolatedAffineModel3D, RigidModel3D, SimilarityModel3D, TranslationModel3D

`public interface Affine3D<T extends Affine3D<T>>extends InvertibleCoordinateTransform`

Author:
Stephan Saalfeld

Method Summary
` void` `concatenate(T affine3d)`

` T` `createInverse()`

` void` `preConcatenate(T affine3d)`

` void` `toArray(double[] data)`
Write the 12 parameters of the affine into a double array.
` void` `toMatrix(double[][] data)`
Write the 12 parameters of the affine into a 4x3 double array.

Methods inherited from interface mpicbg.models.CoordinateTransform
`apply, applyInPlace`

Methods inherited from interface mpicbg.models.InverseCoordinateTransform
`applyInverse, applyInverseInPlace`

Method Detail

### preConcatenate

`void preConcatenate(T affine3d)`

### concatenate

`void concatenate(T affine3d)`

### toArray

`void toArray(double[] data)`
Write the 12 parameters of the affine into a double array. The order is m00, m10, m20, m01, m11, m21, m02, m12, m22, m03, m13, m23

### toMatrix

`void toMatrix(double[][] data)`
Write the 12 parameters of the affine into a 4x3 double array. The order is [0][0] -> m00; [0][1] -> m01; [0][2] -> m02; [0][3] -> m03 [1][0] -> m10; [1][1] -> m11; [1][2] -> m12; [1][3] -> m13 [2][0] -> m20; [2][1] -> m21; [2][2] -> m22; [2][3] -> m23

### createInverse

`T createInverse()`
Specified by:
`createInverse` in interface `InvertibleCoordinateTransform`