Difference between revisions of "ApplyMatrix Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
<noinclude>{{Manual Page|version=4.2}}</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  
+
; ApplyMatrix[ <[[Matrices|Matrix]]>, <[[Geometric Objects|Geometric Object]]>]: Transforms the object ''O'' so that point ''P'' of ''O'' is mapped to  
* point ''M*P'' in case M is a 2x2 matrix or  
+
* point ''M*P'' (with matrix ''M'') 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.  
+
* 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>, <[[Images|Image]]>]: Applies the same transformation as above to an image.

Revision as of 13:36, 8 July 2013



ApplyMatrix[ <Matrix>, <Geometric Object>]
Transforms the object O so that point P of O is mapped to
  • point M*P (with matrix M) 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>, <Image>]
Applies the same transformation as above to an image.
© 2024 International GeoGebra Institute