|
|||||||
АвтоАвтоматизацияАрхитектураАстрономияАудитБиологияБухгалтерияВоенное делоГенетикаГеографияГеологияГосударствоДомДругоеЖурналистика и СМИИзобретательствоИностранные языкиИнформатикаИскусствоИсторияКомпьютерыКулинарияКультураЛексикологияЛитератураЛогикаМаркетингМатематикаМашиностроениеМедицинаМенеджментМеталлы и СваркаМеханикаМузыкаНаселениеОбразованиеОхрана безопасности жизниОхрана ТрудаПедагогикаПолитикаПравоПриборостроениеПрограммированиеПроизводствоПромышленностьПсихологияРадиоРегилияСвязьСоциологияСпортСтандартизацияСтроительствоТехнологииТорговляТуризмФизикаФизиологияФилософияФинансыХимияХозяйствоЦеннообразованиеЧерчениеЭкологияЭконометрикаЭкономикаЭлектроникаЮриспунденкция |
Rotation
Consider the triangle ABC (Figure 1.2) and rotate it by 90 ° counterclockwise about the origin.
Fig.1.2. Rotation If we use the matrix (3×2), consisting of x and y coordinates of triangle vertices, we can write:
That is the coordinates of the resulting triangle A*B*C*. Rotation by 180° about the origin is achieved by the following conversion:
and by 2700:
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:
and
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
Or in matrix form:
Поиск по сайту: |
Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав. Студалл.Орг (0.002 сек.) |