S2CellIdFromPoint: Make a Vector of S2CellIds From Points on the Sphere

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Create a vector of S2CellIds corresponding to the cells at the given level containing the given points. The default level (30) corresponds to leaf cells (finest level).

Usage

1
S2CellIdFromPoint(x, level = 30L)

Arguments

x

Three-column matrix reprensenting the points.

level

Integer between 0 and 30 (incl).

Value

An object of class 'S2CellId'.


spatstat/s2 documentation built on Aug. 16, 2019, 4:10 p.m.