Find the nearest surface vertex to a 3D point
Examples
geom <- example_surface_geometry()
find_nearest_vertex(geom, c(0.9, 0, 0))
#> [1] 2
Find the nearest surface vertex to a 3D point
geom <- example_surface_geometry()
find_nearest_vertex(geom, c(0.9, 0, 0))
#> [1] 2