What is AffineTransform?

I read β€œGetting Started with Java 2 / e,” and the book strongly emphasizes the use of AffineTransform.

There is only one problem, it does not explain at all what it is, what it does, and the purpose of AffineTransform.

I did some google searches, but they just show me matrix math ... Can someone point me in the right direction?

+4
source share
2 answers

This is because affine transformation is a mathematical matrix. This is any mapping from one image to another that you can build by moving, scaling, rotating, reflecting and / or shifting the image. The AffineTransform Java AffineTransform allows you to specify these kinds of transformations and then use them to create modified versions of images.

+4
source

The answer is many years, but if someone else struggles with this, I recommend reading Frank Moon's Introduction to 3D Programming 3D Games with DirectX 11. This is a very good book. Although a book about DirectX 11, the first three chapters are devoted to the mathematical concepts necessary for graphics. The chapters explain mathematics and provide many exercises for learning topics at the end of the chapter. (You can make 2D games, but the math is the same, vectors and matrices have only one smaller dimension.)

0
source

All Articles