Difference between revisions of "ClosestPoint 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 )
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geogebra}}
{{command|geogebra}}
+
;ClosestPoint( <Path>, <Point> )
;ClosestPoint[Path P, Point A]
+
:Returns a new point on a [[Geometric Objects#Paths|path]] which is the closest to a selected point.
:Returns a point on [[Geometric Objects#Paths|path]] ''P'' which is the closest to point ''A''.
+
:{{Note| For [[Functions]], this command now uses closest point (rather than vertical point). This works best for polynomials; for other functions the numerical algorithm is less stable. }}
{{Note| For [[Functions]], this command will return the point vertically in line rather than the nearest point}}
 
  
{{betamanual|version=5.0|
+
 
{{Note|1=From GeoGebra 5, these syntaxes will work as well: ClosestPoint[ <Region>, <Point> ], ClosestPoint[ <Line>, <Line> ]}}
+
;ClosestPoint( <Line>, <Line> )
}}
+
:Returns a new point on the first line which is the closest to the second line.

Latest revision as of 17:15, 7 October 2017


ClosestPoint( <Path>, <Point> )
Returns a new point on a path which is the closest to a selected point.
Note: For Functions, this command now uses closest point (rather than vertical point). This works best for polynomials; for other functions the numerical algorithm is less stable.


ClosestPoint( <Line>, <Line> )
Returns a new point on the first line which is the closest to the second line.
© 2024 International GeoGebra Institute