Difference between revisions of "Stretch Command"

From GeoGebra Manual
Jump to: navigation, search
Line 2: Line 2:
 
{{command|transformation}}
 
{{command|transformation}}
 
;Stretch[ <[[Geometric Objects|Geometric Object]]>, <Line>, <Ratio> ]
 
;Stretch[ <[[Geometric Objects|Geometric Object]]>, <Line>, <Ratio> ]
:The object is stretched so that points on the line stay on their place and distance of other points from the line is multiplied by given ratio.
 
 
;Stretch[ <[[Images|Image]]>, <Line>, <Ratio> ]
 
;Stretch[ <[[Images|Image]]>, <Line>, <Ratio> ]
:The image is stretched so that points on the line 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 Object>, <Vector>, <Ratio> ]
+
;Stretch[ <[[Geometric Objects|Geometric Object]]>, <Vector> ]
:The object is stretched so that points on line given by endpoints of the vector stay on their place and distance of other points from the line is multiplied by given ratio.
+
;Stretch[ <[[Images|Image]]>, <Vector> ]
;Stretch[ <Image>, <Vector>, <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 image is stretched so that points on the line given by endpoints of the vector stay on their place and distance of other points from the line is multiplied by given ratio.
 

Revision as of 17:59, 15 July 2011



Stretch[ <Geometric Object>, <Line>, <Ratio> ]
Stretch[ <Image>, <Line>, <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 Object>, <Vector> ]
Stretch[ <Image>, <Vector> ]
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.)
© 2024 International GeoGebra Institute