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

View source: R/xyz_to_lla.R

xyz_to_llaR Documentation

Convert cartesian coordinates to Earth lon/lat/alt

Description

This function converts cartesian coordinates to Earth lat/lon/alt (WGS84). Cartesian coordinates are from the center of Earth. Meant to be used in conjunction with lla_to_xyz

Usage

xyz_to_lla(x, y, z)

Arguments

x

cartesian x

y

cartesian y

z

cartesian z

Value

A list of 3 numbers where the 3 entries correspond to lon (degrees), lat (degrees), and altitude (meters) on Earth

Examples

scenarioMaker:::xyz_to_lla(12000, 24000, 36000)


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