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






Windows & Linux

Description

Ground ellipse data.

Public Properties

Public Property BearingThe bearing of the ellipse: the angle, measured in an easterly direction, between the major axis and the local North direction. Uses Angle Dimension.
Public Property CustomPositionOpt whether to specify a custom position for the center of the ellipse. Otherwise the object's center is used.
Public Property LatitudeThe latitude of the center of the ellipse. Read-only unless you opt to specify a custom position. Uses Latitude Dimension.
Public Property LongitudeThe longitude of the center of the ellipse. Read-only unless you opt to specify a custom position. Uses Longitude Dimension.
Public Property SemiMajorAxisThe semimajor axis of the ellipse. Uses Distance Dimension.
Public Property SemiMinorAxisThe semiminor axis of the ellipse. Uses Distance Dimension.
Public Property TimeTime of the ellipse. Uses DateFormat Dimension.

Example

Add ground ellipse element and data element
[C#]Copy Code
// Add ground ellipse 
IAgVeGroundEllipseElement ellipse = ellipsesCollection.Add("MyEllipses"); 
 
// Add ellipse data element 
IAgVeEllipseDataElement element = ellipse.EllipseData.Add(); 
 
// Configure element properties 
element.Time = "1 Jan 2012 12:00:00.000"
element.Latitude = 35.2920
element.Longitude = -93.7299
element.SemiMajorAxis = 400.0
element.SemiMinorAxis = 300.0
element.Bearing = 35.71
 

Add ground ellipse element and data element
[Visual Basic .NET]Copy Code
' Add ground ellipse
Dim ellipse As IAgVeGroundEllipseElement = ellipsesCollection.Add("MyEllipses")

' Add ellipse data element
Dim element As IAgVeEllipseDataElement = ellipse.EllipseData.Add()

' Configure element properties
element.Time = "1 Jan 2012 12:00:00.000"
element.Latitude = 35.292
element.Longitude = -93.7299
element.SemiMajorAxis = 400
element.SemiMinorAxis = 300
element.Bearing = 35.71

© 2018 Analytical Graphics, Inc. All Rights Reserved.