Difference between revisions of "Distance 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|geometry}}
 
{{command|geometry}}
; Distance[Point A, Object O]: Yields the (shortest) distance between points ''A'' and the Object. Works for Points, Segments, Lines, Conics and Implicit Curves. When ''f'' is a function, <code>Distance[A,f]</code> returns distance between ''A'' and ''(x(A),f(x(A)))''.
+
; Distance[ <Point>, <Object> ]: Yields the (shortest) distance between a point and an object.  
: {{Note| In GeoGebra 3.2  '''Distance[Point A, Segment]''' gave the distance to the segment extended to an infinite line. From GeoGebra 4.0 it gives the distance to the Segment itself. }}
+
: {{Note| 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)))''.}}
; Distance[Line g, Line h]: Yields the distance between the parallel lines ''g'' and ''h''.
+
 
 +
; 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| The distance between intersecting lines is 0. Thus, this command is only interesting for parallel lines.}}
 
: {{Note| See also [[Image:Tool Distance.gif]] [[Distance or Length Tool|Distance or Length]] tool .}}
 
: {{Note| See also [[Image:Tool Distance.gif]] [[Distance or Length Tool|Distance or Length]] tool .}}

Revision as of 10:25, 19 April 2013



Distance[ <Point>, <Object> ]
Yields the (shortest) distance between a point and an object.
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 distance between A and (x(A),f(x(A))).
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