From GeoGebra Manual
- ClosestPoint[Path P, Point A]
- Returns a point on path P which is the closest to point A.
Note: For Functions, this command will return the point vertically in line rather than the nearest point
| Following text is about a feature that is supported only in GeoGebra 5.0.
Note: From GeoGebra 5, these syntaxes will work as well: ClosestPoint[ <Region>, <Point> ], ClosestPoint[ <Line>, <Line> ]