Difference between revisions of "Distance Command"
From GeoGebra Manual
Line 2: | Line 2: | ||
{{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 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 <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 distance between ''A'' and ''(x(A), f(x(A)))''.}} |
; Distance[ <Line>, <Line> ]: Yields the distance between two parallel lines. | ; 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| 1=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| 1=See also [[Image:Tool Distance.gif]] [[Distance or Length Tool|Distance or Length]] tool .}} |
{{betamanual|version=5.0| | {{betamanual|version=5.0| | ||
− | {{Note|1=From GeoGebra 5, this command will work with 3D objects as well}} | + | {{Note| 1=From GeoGebra 5, this command will work with 3D objects as well}} |
}} | }} |
Revision as of 11:48, 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 Distance or Length tool .
Following text is about a feature that is supported only in GeoGebra 5.0.
Note: From GeoGebra 5, this command will work with 3D objects as well |