AGI Common Entity Library 11 Send comments on this topic.
OnTerrain Property (IAgEntityPosition)
See Also 
Windows






Windows & Linux

Description

If true, altitude is ignored and the entity is assumed to be on terrain.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property OnTerrain() As Boolean

[C#]
public bool OnTerrain {get; set;}

[Managed C++]
public: __property bool get_OnTerrain();
public: __property void set_OnTerrain(
bool
);

[Unmanaged C++]
public: HRESULT get_OnTerrain(
VARIANT_BOOL * pRetVal
);
public: HRESULT put_OnTerrain(
VARIANT_BOOL NewOnTerrain
);

[Java]
public bool getOnTerrain();public void setOnTerrain(
bool
);

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface