Difference between revisions of "AffineRatio 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 )
(command syntax: changed [ ] into ( ))
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geometry}}
{{command|geometry}}
+
;AffineRatio( <Point A>, <Point B>, <Point C> ):Returns the affine ratio ''λ'' of three collinear points ''A'', ''B'' and ''C'', where ''C = A + λ * AB''.
;AffineRatio[ <Point A>, <Point B>, <Point C> ]:Returns the affine ratio λ of three collinear points ''A'', ''B'', and ''C'', where ''C = A + λ * AB''.
+
:{{example|1=<code><nowiki>AffineRatio((-1, 1), (1, 1), (4, 1))</nowiki></code> yields ''2.5''}}

Latest revision as of 09:43, 11 October 2017


AffineRatio( <Point A>, <Point B>, <Point C> )
Returns the affine ratio λ of three collinear points A, B and C, where C = A + λ * AB.
Example: AffineRatio((-1, 1), (1, 1), (4, 1)) yields 2.5
© 2024 International GeoGebra Institute