GroundVehicle.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 millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

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

 

Method Signature

GroundVehicle.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 = myGroundVehicle1.GetHeight(myTerrain1);

 

 

See also

GroundVehicle Object

GroundVehicle.GetHeight