latlong2ellipsoid: Map latitude/longitude coordinates onto an ellipsoid....

Description Usage Arguments Value

View source: R/dem2stl.R

Description

Map latitude/longitude coordinates onto an ellipsoid. Vectorised.

Usage

1
latlong2ellipsoid(lat, long, a = 1, b = 1, c = 1)

Arguments

lat

latitude coordinates (scalar or vector, in radians)

long

longitude coordinates (same length as lat, in radians)

a

semi-principal axis length

b

semi-principal axis length

c

semi-principal axis length

Value

a length(lat)x3 matrix giving the lat/long coordinates points on an ellipsoid with the given axes lengths in 3d space


kevinstadler/dem2stl documentation built on April 3, 2018, 10:04 a.m.