Convert longitude/latitude coordinates to geocentric coordinates.
globe(x, ...) # S3 method for mesh3d globe(x, gproj = NULL, ...) # S3 method for default globe(x, gproj = "+proj=geocent +datum=WGS84", ...)
x | a silicate model or mesh3d |
---|---|
... | arguments to methods (none used) |
gproj | Geocentric PROJ.4 string, defaults to WGS84 |
object with vertices table modified
With silicate data checks are made for the projection in use, but not for mesh3d. In that case data are assumed to be 'longitude,latitude,elevation'.
#> Warning: Discarded datum WGS_1984 in CRS definition, #> but +towgs84= values preserved