|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AffineTransform2D
Represents any transform which can be expressed via a 3x3 matrix with the last row equal to [0 0 1]. The storage or the computation of the matrix coefficients is left to the implementation.
Specialized interfaces are Isometry2D and Motion2D.
| Method Summary | |
|---|---|
AffineTransform2D |
compose(AffineTransform2D transform)
Return the composition of this affine transform with the given affine transform. |
double[][] |
getAffineMatrix()
return matrix of the transform coefficients. |
double[] |
getCoefficients()
return coefficients of the transform. |
boolean |
isDirect()
Check if the transform is direct, i.e. it preserves the orientation of transformed shapes. |
boolean |
isIdentity()
Check if the transform is equivalent to the identity transform. |
boolean |
isIsometry()
Check if the transform is an isometry, i.e. a compound of translation, rotation and reflection. |
boolean |
isMotion()
Check if the transform is a motion, i.e. a compound of translations and rotation. |
boolean |
isSimilarity()
|
| Methods inherited from interface math.geom2d.transform.Bijection2D |
|---|
getInverseTransform |
| Methods inherited from interface math.geom2d.transform.Transform2D |
|---|
transform, transform, transform |
| Method Detail |
|---|
double[] getCoefficients()
double[][] getAffineMatrix()
AffineTransform2D compose(AffineTransform2D transform)
this
and that, the result can be represented by matrix
this*that.
transform - the transform to compose with
boolean isSimilarity()
boolean isMotion()
boolean isIsometry()
boolean isDirect()
boolean isIdentity()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||