faces: The face names of a trigrid or hexagrid object

facesR Documentation

The face names of a trigrid or hexagrid object

Description

Shorthand function to get the face names of an icosahedral grid or a grid linked to a facelayer.

Usage

faces(x)

## S4 method for signature 'trigrid'
faces(x)

## S4 method for signature 'gridlayer'
faces(x)

Arguments

x

(trigrid, hexagrid or facelayer) The grid or facelayer object.

Value

The names of the faces of the grid as a character vector.

Examples

ball <- hexagrid(2)
faces(ball)

icosa documentation built on Sept. 11, 2024, 5:57 p.m.