Description Usage Arguments Details Value Examples
Convert longitude/latitude coordinates to geocentric coordinates.
1 2 3 4 5 6 7 |
x |
a silicate model or mesh3d |
... |
arguments to methods (none used) |
gproj |
Geocentric PROJ.4 string, defaults to WGS84 |
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'.
object with vertices table modified
1 2 3 4 5 6 7 8 9 | data(simpleworld)
g <- globe(silicate::PATH(as(simpleworld, "SpatialLinesDataFrame")))
if (interactive()) {
plot(g, lwd = 3)
plot3d(g)
rgl::open3d()
wire3d(globe(DEL0(gebco*50)), col = "grey");
rgl::spheres3d(0, 0, 0, rad = 6000000,col = "aliceblue")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.