Difference between revisions of "AffineRatio Command"
From GeoGebra Manual
m |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geometry}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geometry}} | ||
− | ;AffineRatio | + | ;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=<div><code><nowiki>AffineRatio[(-1, 1), (1, 1), (4, 1)]</nowiki></code> yields ''2.5''</div>}} | :{{example|1=<div><code><nowiki>AffineRatio[(-1, 1), (1, 1), (4, 1)]</nowiki></code> yields ''2.5''</div>}} |
Revision as of 17:15, 7 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