globe: Convert map coordinates to Geocentric (XYZ) coordinates.

Description Usage Arguments Value Examples

View source: R/globe.r

Description

Convert map coordinates to Geocentric (XYZ) coordinates.

Usage

1
2
3
4
globe(x, ...)

## Default S3 method:
globe(x, gproj = "+proj=geocent +ellps=WGS84", ...)

Arguments

x

list of tibbles, in anglr form

...

arguments to methods (none used)

gproj

Geocentric PROJ.4 string, defaults to WGS84

Value

anglr object with vertices table modified

Examples

1
2
3
4
5
data(simpleworld)
g <- globe(silicate::PATH(as(simpleworld, "SpatialLinesDataFrame")))
if (interactive()) {
 plot(g, lwd = 3)
 }

r-gris/trimesh documentation built on Oct. 13, 2018, 11:40 a.m.