lla_to_xyz: Convert Earth lon/lat/alt to cartesian coordinates

View source: R/lla_to_xyz.R

lla_to_xyzR Documentation

Convert Earth lon/lat/alt to cartesian coordinates

Description

This function converts Earth latitude/longitude/altitude to cartesian coordinates (for interpolation functions). Cartesian coordinates are from the center of Earth. Meant to be used in conjunction with xyz_to_lla

Usage

lla_to_xyz(lon, lat, alt)

Arguments

lon

Longitude in degrees

lat

Latitude in degrees

alt

Altitude in meters

Value

A list of 3 numbers where the 3 entries correspond to x, y, and z cartesian coordinates

Examples

scenarioMaker:::lla_to_xyz(120, 42, 1005)


battleVerse/scenarioMaker documentation built on July 16, 2024, 4:21 a.m.