Accessor: geodesy/Lla2Ecef

geodesy/Lla2Ecef

This accessor takes two 3D locations and calculate the euclidean distance between them.

Version:
  • $$Id$$
Author:
  • Eloi T. Pereira (eloi@berkeley.edu)
Source:
Inputs:
Name Type Description
x1 double x-coordinate of the first location
y1 double y-coordinate of the first location
z1 double z-coordinate of the first location
x2 double x-coordinate of the second location
y2 double y-coordinate of the second location
z2 double z-coordinate of the second location
Outputs:
Name Type Description
dist double distance

Methods

(static) setup()

Set up the accessor by defining the inputs and outputs.

Source:

(static) setup()

Set up the accessor by defining the inputs and outputs.

Source:

geodesy/Lla2Ecef

This accessor takes a WG-84 location (latitude, longitude, and altitude) and converts it to ECEF (Earth-Centered, Earth-Fixed) cartesian coordinates. Based on http://danceswithcode.net/engineeringnotes/geodetic_to_ecef/geodetic_to_ecef.html

Version:
  • $$Id$$
Author:
  • Eloi T. Pereira (eloi@berkeley.edu)
Source:
Inputs:
Name Type Description
lat double latitude
lon double longitude
alt double altitude
Outputs:
Name Type Description
x double ecef x coordinate
y double ecef y coordinate
z double ecef z coordinate

Methods

(static) setup()

Set up the accessor by defining the inputs and outputs.

Source:

(static) setup()

Set up the accessor by defining the inputs and outputs.

Source: