Difference between revisions of "Distance Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
{{command|geometry}}
 
{{command|geometry}}
; Distance[Point A, Point B]: Yields the distance between two points ''A'' and ''B''.
+
; Distance[Point A, Object]: Yields the (shortest) distance between points ''A'' and the Object. Works for Points, Segments, Lines, Paths, Conics and Implicit Curves.
; Distance[Point, Line]: Yields the distance between the point and the line.
+
: {{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''.
 
; 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| 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 20:08, 20 July 2011


Distance[Point A, Object]
Yields the (shortest) distance between points A and the Object. Works for Points, Segments, Lines, Paths, Conics and Implicit Curves.
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