STK X Send comments on this topic.
Alt Property (AgPickInfoData)
See Also  Example





Description

Altitude of point clicked (if available).

Property type

Read-only property

Syntax

[Visual Basic .NET]
Public Property Alt() As Double

[C#]
public double Alt {get;}

[Managed C++]
public: __property double get_Alt();

[Unmanaged C++]
public: HRESULT get_Alt(
double * pRetVal
);

[Java]
public double getAlt();

Remarks

Unit is meters.

Example

[Visual Basic .NET] Copy Code
If pickInfoData.IsLatLonAltValid Then
    MessageBox.Show ("LLA: " & pickInfoData.Lat & " " & pickInfoData.Lon & " " & pickInfoData.Alt)
End If

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1