Trans.Euclid {spherepc} | R Documentation |
Transforming into Euclidean coordinate
Description
This function converts a spherical coordinate to a Euclidean coordinate.
Usage
Trans.Euclid(vec)
Arguments
vec |
two-dimensional spherical coordinate. |
Details
This function converts a two-dimensional spherical coordinate to a three-dimensional Euclidean coordinate. Longitude should be range from -180 to 180 and latitude from -90 to 90.
Value
three-dimensional vector.
Author(s)
Jongmin Lee
See Also
Examples
Trans.Euclid(c(0, 0))
Trans.Euclid(c(0, 90))
Trans.Euclid(c(90, 0))
Trans.Euclid(c(180, 0))
Trans.Euclid(c(-90, 0))
[Package spherepc version 0.1.7 Index]