Difference between revisions of "ApplyMatrix Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
{{command|vector-matrix}}
 
{{command|vector-matrix}}
; ApplyMatrix[ <[[Matrices|Matrix]] M>, <[[Geometric Objects|Geometric Object]] O>]: Transforms the object so that point ''P'' of ''O'' is mapped to point ''M*P'' in case M is a 2x2 matrix or to point ''project(M*(x(P), y(P), 1))'' where ''project'' is a projection mapping point ''(x,y,z)'' to ''(x/z, y/z)''.  
+
; ApplyMatrix[ <[[Matrices|Matrix]] M>, <[[Geometric Objects|Geometric Object]] O>]: Transforms the object so that point ''P'' of ''O'' is mapped to  
 +
* point ''M*P'' in case M is a 2x2 matrix or  
 +
* point ''project(M*(x(P), y(P), 1))'' where ''project'' is a projection mapping point ''(x,y,z)'' to ''(x/z, y/z)'' in case of 3x3 matrix.  
 
; ApplyMatrix[ <Matrix M>, <[[Images|Image]] I>]: Applies the same transformation as above to image I.
 
; ApplyMatrix[ <Matrix M>, <[[Images|Image]] I>]: Applies the same transformation as above to image I.

Revision as of 17:35, 21 July 2011



ApplyMatrix[ <Matrix M>, <Geometric Object O>]
Transforms the object so that point P of O is mapped to
  • point M*P in case M is a 2x2 matrix or
  • point project(M*(x(P), y(P), 1)) where project is a projection mapping point (x,y,z) to (x/z, y/z) in case of 3x3 matrix.
ApplyMatrix[ <Matrix M>, <Image I>]
Applies the same transformation as above to image I.
© 2024 International GeoGebra Institute