AGI STK Objects 11 Send comments on this topic.
IAgVeGfxElevContours Interface
Windows






Windows & Linux

Description

General settings regarding display of elevation contours.

Object Model


Public Properties

Public Property ElevationsCollection of Levels.
Public Property FillStyleThe type of fill to display.
Public Property FillTranslucencySpecify the fill translucency percentage of the area within the contours. Translucency ranges from 0 to 100 percent, where 100 percent is invisible.
Public Property IsFillVisibleOpt whether to display a fill over the area within the contours.
Public Property IsVisibleOpt whether to display elevation contours.
Public Property NumOfDecimalDigitsNumber of decimal digits. Dimensionless.

Example

Configure elevation contours
[C#]Copy Code
gfxContours.IsVisible = true
gfxContours.IsFillVisible = true
gfxContours.FillStyle =  <a href="STKUtil~Enumerations~AgEFillStyle_EN.html">AgEFillStyle</a>.eFillStyleHorizontalStripe; 
gfxContours.NumOfDecimalDigits = 5
 
// Add contour elevation level 
IAgVeGfxElevationsElement elevation = gfxContours.Elevations.AddLevel(25.0); 
 
// Configure contour elevation element 
elevation.Color = Color.Red; 
elevation.DistanceVisible = true
elevation.LineStyle =  <a href="STKUtil~Enumerations~AgELineStyle_EN.html">AgELineStyle</a>.eDotted; 
elevation.LineWidth = AgELineWidth.e3; 
elevation.UserTextVisible = true
elevation.UserText = "My new elevation"
 
// Set contours to visible on scenario 
voContours.IsVisible = true
voContours.Fill = true
voContours.FillTranslucency = 80.0
 

Configure elevation contours
[Visual Basic .NET]Copy Code
gfxContours.IsVisible = True
gfxContours.IsFillVisible = True
gfxContours.FillStyle = AgEFillStyle.eFillStyleHorizontalStripe
gfxContours.NumOfDecimalDigits = 5

' Add contour elevation level
Dim elevation As IAgVeGfxElevationsElement = gfxContours.Elevations.AddLevel(25)

' Configure contour elevation element
elevation.Color = Color.Red
elevation.DistanceVisible = True
elevation.LineStyle = AgELineStyle.eDotted
elevation.LineWidth = AgELineWidth.e3
elevation.UserTextVisible = True
elevation.UserText = "My new elevation"

' Set contours to visible on scenario
voContours.IsVisible = True
voContours.Fill = True
voContours.FillTranslucency = 80

Set 2D/3D Elevation Contours
[MATLAB]Copy Code
% IAgSatellite satellite: Satellite object 
%Set the contours in the 2D properties 
contours = satellite.Graphics.ElevContours; 
contours.IsVisible = true; 
contours.NumOfDecimalDigits = 0; 
contours.Elevations.AddLevelRange(0,90,10); %   Min, Max, Step 
%Turn the contours on in the 3D properties 
satellite.VO.ElevContours.IsVisible = true; 
 
 
Set 2D/3D Elevation Contours
[Python]Copy Code
# IAgSatellite satellite: Satellite object 
#Set the contours in the 2D properties 
contours = satellite.Graphics.ElevContours 
contours.IsVisible = True 
contours.NumOfDecimalDigits = 0 
contours.Elevations.AddLevelRange(0,90,10) #   Min, Max, Step 
#Turn the contours on in the 3D properties 
satellite.VO.ElevContours.IsVisible = True 
 
 
© 2018 Analytical Graphics, Inc. All Rights Reserved.