Extract Vertices from a Surface Object
Source:R/all_generic.R, R/geometry.R, R/neuro_surface.R
vertices-methods.RdExtracts the vertices from a surface object, providing a standardized interface across different surface representations.
Usage
vertices(x, ...)
# S4 method for class 'SurfaceGeometry'
vertices(x, indices)
# S4 method for class 'NeuroSurface'
vertices(x)
# S4 method for class 'NeuroSurfaceVector'
vertices(x, indices)Examples
if (FALSE) { # \dontrun{
vertex_data <- vertices(surface_obj)
num_vertices <- nrow(vertex_data)
} # }