Difference between revisions of "Distance Command"

From GeoGebra Manual
Jump to: navigation, search
m (missing ))
Line 6: Line 6:
 
: {{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 .}}
 +
{{betamanual|version=5.0|
 +
{{Note|1=From GeoGebra 5, this command will work with 3D objects as well}}
 +
}}

Revision as of 19:39, 8 June 2012


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, Distance[A,f] returns distance between A and (x(A),f(x(A))).
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.
Distance[Line g, Line h]
Yields the distance between the parallel lines g and h.
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