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)

adamkocsis/icosa documentation built on Aug. 20, 2024, 1:35 a.m.