Spacecraft.GetHeight(Terrain) Method

Top 

Description

Return the bodydetic height above the provided Terrain object. Objects below the surface of the terrain will return a negative height. This is a geodetic height measured along the line perpendicular to the ellipsoid. For Spacecraft objects, this is the distance from the calling Spacecraft to the point where its subsatellite point intersects with the terrain. This distance is the same as (Spacecraft height above terrain) = (Spacecraft height above the ellipsoid) - (terrain height above the ellipsoid at the spacecraft's subsatellite point lat/lon).

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

Spacecraft.GetHeight(

Terrain terrain)

 

 

Arguments

terrain


Description:

The terrain object to be used as the height reference.

 

 

 

Return Value

Type:

number

Units:

km

 

 

The bodydetic height.

 

Syntax

myVariable1 = mySpacecraft1.GetHeight(myTerrain1);

 

 

See also

Spacecraft Object

Spacecraft.GetHeight

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide