Difference between revisions of "ClosestPoint Command"

From GeoGebra Manual
Jump to: navigation, search
(remove Region syntax (moved to ClosestPointRegion[] command))
Line 4: Line 4:
 
:Returns a new point on a [[Geometric Objects#Paths|path]] which is the closest to a selected point.
 
:Returns a new point on a [[Geometric Objects#Paths|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. }}
 
{{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. }}
 
 
  
 
{{betamanual|version=5.0|1=
 
{{betamanual|version=5.0|1=
{{Note|1=From GeoGebra 5, these syntaxes will work as well.}}}}
+
{{Note|1=From GeoGebra 5, this syntax will work as well.}}}}
;ClosestPoint[ <Region>, <Point> ]
 
:Returns a new point on the [[Geometric_Objects#Regions|region]] which is the closest to a selected point.
 
 
;ClosestPoint[ <Line>, <Line> ]
 
;ClosestPoint[ <Line>, <Line> ]
 
:Returns a new point on the first line which is the closest to the second line.
 
:Returns a new point on the first line which is the closest to the second line.

Revision as of 15:27, 15 October 2014



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.
© 2021 International GeoGebra Institute