Community
Solved! Go to Solution.
Solved by _gile. Go to Solution.
Hi,
If the input point is on the polyline, you can get its parameter (double).
Parameters of polylines are integer on vertices, so it's easy to get the closest vertex.
Point3d closestVertex = pline.GetPointAtParam(Math.Round(pline.GetParamAtPoint(inputPoint)));