# Difference between revisions of "ClosestPoint Command"

From GeoGebra Manual

m |
m |
||

Line 2: | Line 2: | ||

;ClosestPoint[ <Path>, <Point> ] | ;ClosestPoint[ <Path>, <Point> ] | ||

: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. }} |

+ | |||

;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:58, 18 August 2015

- 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.