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





Description

Ground ellipse data.

Public Properties

Public Property Bearing The 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 CustomPosition Opt whether to specify a custom position for the center of the ellipse. Otherwise the object's center is used.
Public Property Latitude The latitude of the center of the ellipse. Read-only unless you opt to specify a custom position. Uses Latitude Dimension.
Public Property Longitude The longitude of the center of the ellipse. Read-only unless you opt to specify a custom position. Uses Longitude Dimension.
Public Property SemiMajorAxis The semimajor axis of the ellipse. Uses Distance Dimension.
Public Property SemiMinorAxis The semiminor axis of the ellipse. Uses Distance Dimension.
Public Property Time Time 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

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1