AGI STK Objects 11 Send comments on this topic.
IAgGfxRangeContours Interface





Description

AgGfxRangeContours used to access contours of 2-d object

Object Model


Public Properties

Public Property AvailableLabelUnits The available units for the LabelUnit.
Public Property FillStyle The style in which the range contours polygon is filled. A member of the AgEFillStyle enumeration.
Public Property FillTranslucency Specify the fill translucency percentage of the polygon on the surface of the central body. Translucency ranges from 0 to 100 percent, where 100 percent is invisible.
Public Property IsFillVisible Display the range contours as a filled polygon on the surface of the central body.
Public Property IsVisible Display range contours representing the various regions of the surface that can see an object at the specified level.
Public Property LabelUnit The display units on the 2d map.
Public Property LevelAttributes The collection of level attributes defining the way in which the range contours are displayed.
Public Property NumOfDecimalDigits Number of decimal digits.

Example

Set 2D/3D Range Contours
[MATLAB] Copy Code
% IAgSatellite satellite: Satellite object 
%Set a contour level in the 2D properties 
rangeContours = satellite.Graphics.RangeContours; 
rangeContours.IsVisible = true; 
rangeLevel = rangeContours.LevelAttributes.AddLevel(2000);  % km 
rangeLevel.Color = 16711935; 
rangeLevel.LineWidth = 4; 
rangeLevel.LabelAngle = 90; 
rangeLevel.UserTextVisible = true; 
rangeLevel.UserText = 'Range'; 
%Turn the contours on in the 3D properties 
satellite.VO.RangeContours.IsVisible = true; 
 
 
© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1