Compute geodesic distance from a vertex
Source:R/surface_geodesic_distance.R
surface_geodesic_distance.RdWraps wb_command -surface-geodesic-distance to compute the geodesic
distance from a single vertex to all other vertices on a surface.
Usage
surface_geodesic_distance(
surface_in,
vertex,
metric_out,
limit = NULL,
corrected_areas = NULL,
verbose = get_wb_verbosity()
)Arguments
- surface_in
Path to the input surface file.
- vertex
Index of the source vertex (0-indexed).
- metric_out
Path for the output metric file.
- limit
Maximum geodesic distance in mm. Vertices beyond this distance get value
-1.- corrected_areas
Path to a metric file of corrected vertex areas (for group-average surfaces).
- verbose
Logical; print command output?
Value
The result of the underlying wb_cmd() call.