Skip to contents

Retrieves the node numbers from a surface object.

Usage

nodes(x)

# S4 method for class 'SurfaceGeometry'
nodes(x)

# S4 method for class 'NeuroSurface'
nodes(x)

# S4 method for class 'NeuroSurfaceVector'
nodes(x)

Arguments

x

An object representing a surface.

Value

A vector of node numbers.

See also

Examples

geom <- example_surface_geometry()
nodes(geom)
#> [1] 1 2 3 4