Terrain#

class ansys.stk.core.stkobjects.Terrain#

Class defining terrain data for a Scenario.

Overview#

location

Location of the terrain contained in the terrain data file.

file_type

Type of terrain data file. A member of the TerrainFileType enumeration.

southwest_latitude

Latitude of the southwest corner of the terrain contained in the terrain data file. Uses Angle Dimension.

southwest_longitude

Longitude of the southwest corner of the terrain contained in the terrain data file. Uses Angle Dimension.

northeast_latitude

Latitude of the northeast corner of the terrain contained in the terrain data file. Uses Angle Dimension.

northeast_longitude

Latitude of the northeast corner of the terrain contained in the terrain data file. Uses Angle Dimension.

resolution

Resolution of the terrain data. Uses Angle Dimension.

use_terrain

Whether to use the terrain.

Import detail#

from ansys.stk.core.stkobjects import Terrain

Property detail#

property Terrain.location: str#

Location of the terrain contained in the terrain data file.

property Terrain.file_type: TerrainFileType#

Type of terrain data file. A member of the TerrainFileType enumeration.

property Terrain.southwest_latitude: Any#

Latitude of the southwest corner of the terrain contained in the terrain data file. Uses Angle Dimension.

property Terrain.southwest_longitude: Any#

Longitude of the southwest corner of the terrain contained in the terrain data file. Uses Angle Dimension.

property Terrain.northeast_latitude: Any#

Latitude of the northeast corner of the terrain contained in the terrain data file. Uses Angle Dimension.

property Terrain.northeast_longitude: Any#

Latitude of the northeast corner of the terrain contained in the terrain data file. Uses Angle Dimension.

property Terrain.resolution: Any#

Resolution of the terrain data. Uses Angle Dimension.

property Terrain.use_terrain: bool#

Whether to use the terrain.