There is a certain figure. Suppose a rectangle. He has 4 points.

There is a matrix (2d). According to which you need to transform the figure.

Task: find the new coordinates of each point.

PS Thank you for your understanding, I am not a student at all. And the answer I need is not in order to answer, but really in practice. The solution is generally there, but it turns out garbage. So I wanted to see what was offered and compare with my ... Thank you very much, Hashcode users.

  • 3
    There is a certain course. Suppose "linear algebra". There is a paragraph "Affine Transformations" in which turns, contractions and other transformations are described. Task: download a tutorial, read a paragraph, understand. - atwice
  • @DreamChild I want to see on HeshKod good questions and beautiful answers, and not confessions of students-losers, which they write from the phone, while the teacher, distracting the credit, got distracted. - atwice
  • one
    A wonderful series of posts about linear algebra, of course, not everything you need here, but I, in my time, helped a lot. blog.wolfire.com/2009/07/… - Zowie

1 answer 1

Affinity Transformation.

You just have to write a simple matrix multiplication script.