Difference between revisions of "Distance Command"

From GeoGebra Manual
Jump to: navigation, search
m
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|geometry}}
 
{{command|geometry}}
; Distance[ <Point>, <Object> ]: Yields the (shortest) distance between a point and an object.  
+
; Distance[ <Point>, <Object> ]: Yields the shortest distance between a point and a geometric object, or the vertical distance to a function.  
: {{Note| 1=The command works for points, segments, lines, conics and implicit curves. For a given function ''f'' and a given point ''A'', the command <code>Distance[A,f]</code> yields the distance between ''A'' and ''(x(A), f(x(A)))''.}}
+
: {{Note| 1=The command works for points, segments, lines, conics and implicit curves. For a given function ''f'' and a given point ''A'', the command <code>Distance[A,f]</code> yields the '''vertical''' distance between the point and the function.}}
  
 
; Distance[ <Line>, <Line> ]: Yields the distance between two parallel lines.
 
; Distance[ <Line>, <Line> ]: Yields the distance between two parallel lines.

Revision as of 19:37, 15 June 2013



Distance[ <Point>, <Object> ]
Yields the shortest distance between a point and a geometric object, or the vertical distance to a function.
Note: The command works for points, segments, lines, conics and implicit curves. For a given function f and a given point A, the command Distance[A,f] yields the vertical distance between the point and the function.
Distance[ <Line>, <Line> ]
Yields the distance between two parallel lines.
Note: The distance between intersecting lines is 0. Thus, this command is only interesting for parallel lines.
Note: See also Tool Distance.gif Distance or Length tool .
© 2024 International GeoGebra Institute