АвтоАвтоматизацияАрхитектураАстрономияАудитБиологияБухгалтерияВоенное делоГенетикаГеографияГеологияГосударствоДомДругоеЖурналистика и СМИИзобретательствоИностранные языкиИнформатикаИскусствоИсторияКомпьютерыКулинарияКультураЛексикологияЛитератураЛогикаМаркетингМатематикаМашиностроениеМедицинаМенеджментМеталлы и СваркаМеханикаМузыкаНаселениеОбразованиеОхрана безопасности жизниОхрана ТрудаПедагогикаПолитикаПравоПриборостроениеПрограммированиеПроизводствоПромышленностьПсихологияРадиоРегилияСвязьСоциологияСпортСтандартизацияСтроительствоТехнологииТорговляТуризмФизикаФизиологияФилософияФинансыХимияХозяйствоЦеннообразованиеЧерчениеЭкологияЭконометрикаЭкономикаЭлектроникаЮриспунденкция

Rotation

Читайте также:
  1. D Rotation
  2. D Rotation around an Arbitrary Axis

Consider the triangle ABC (Figure 1.2) and rotate it by 90 ° counterclockwise about the origin.

(1.24)

Fig.1.2. Rotation

If we use the matrix (3×2), consisting of x and y coordinates of triangle vertices, we can write:

(1.25)

That is the coordinates of the resulting triangle A*B*C*. Rotation by 180° about the origin is achieved by the following conversion:

(1.26)

and by 2700:

(1.27)

How to make a rotation around the origin through an arbitrary angle θ? To answer this question, we consider the position vector from the origin to the point P (Figure 1.3). Denote r - the length of the vector, and φ - the angle between the vector and the x axis. Position vector is rotated around the origin through an angle θ and gets to the point P*. Writing the position vectors for the P and P*, we obtain:

(1.28)

and

(1.29)

Fig.1.3. Rotation of a point P from position (x, y) to position (x*, y*) through an angle θ relative to the coordinate origin

Thus, the transformed point has the coordinates

(1.30)

Or in matrix form:

(1.31)


1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 |

Поиск по сайту:



Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав. Студалл.Орг (0.003 сек.)