Difference between revisions of "Stretch 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|transformation}}
 
{{command|transformation}}
;Stretch[ <[[Geometric Objects|Geometric Object]]>, <Line>, <Ratio> ]
+
;Stretch[ <[[Geometric Objects|Object]]>, <Vector> ]
;Stretch[ <[[Images|Image]]>, <Line>, <Ratio> ]
+
:The object is stretched '''parallel''' to the given vector by the ratio given by the '''magnitude''' of the vector (i.e. points on the line perpendicular to the vector (through its startpoint) stay on their place and distance of other points from the line is multiplied by given ratio.)
:The object is stretched '''perpendicular''' to the line by the given ratio (ie points on the line aren't moved and the distance of other points from the line is multiplied by given ratio.)
+
 
;Stretch[ <[[Geometric Objects|Geometric Object]]>, <Vector> ]
+
 
;Stretch[ <[[Images|Image]]>, <Vector> ]
+
;Stretch[ <[[Geometric Objects|Object]]>, <Line>, <Ratio> ]
:The object is stretched '''parallel''' to the given vector by the ratio given by the '''magnitude''' of the vector (ie points on the line perpendicular to the vector (through its startpoint) stay on their place and distance of other points from the line is multiplied by given ratio.)
+
:The object is stretched '''perpendicular''' to the line by the given ratio (i.e. points on the line aren't moved and the distance of other points from the line is multiplied by given ratio.)

Revision as of 09:02, 18 July 2013



Stretch[ <Object>, <Vector> ]
The object is stretched parallel to the given vector by the ratio given by the magnitude of the vector (i.e. points on the line perpendicular to the vector (through its startpoint) stay on their place and distance of other points from the line is multiplied by given ratio.)


Stretch[ <Object>, <Line>, <Ratio> ]
The object is stretched perpendicular to the line by the given ratio (i.e. points on the line aren't moved and the distance of other points from the line is multiplied by given ratio.)
© 2021 International GeoGebra Institute