Shorthand function to return the vertices slot of an icosahedral grid or a grid linked to a facelayer.
Usage
vertices(x, ...)
# S4 method for trigrid
vertices(x, output = "polar")
# S4 method for facelayer
vertices(x, output = "polar")
Examples
a <- trigrid(1)
vertices(a)
#> long lat
#> P1 0 90.00000
#> P2 -162 26.56505
#> P3 -90 26.56505
#> P4 -18 26.56505
#> P5 54 26.56505
#> P6 126 26.56505
#> P7 162 -26.56505
#> P8 -126 -26.56505
#> P9 -54 -26.56505
#> P10 18 -26.56505
#> P11 90 -26.56505
#> P12 0 -90.00000