STK ObjectsSend comments on this topic.
IAgVeGroundEllipsesCollection Interface

Description

Ground Ellipses.

Public Methods

Public Method AddAdds a new element to the collection.
Public Method GetEllipseSetGets an element from the collection using the Ellipse Set name.
Public Method RemoveAllRemoves all elements from the collection.
Public Method RemoveAtRemoves an element from the collection using specified index.
Public Method RemoveEllipseSetRemoves an element from the collection using the Ellipse Set name.

Public Properties

Public Property CountReturns the number of elements in a collection.
Public Property ItemGiven an index, returns an element in the collection.

Example

Add ground ellipse element and data element
[C#]
// 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]
' 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
© 2024 Analytical Graphics, Inc. All Rights Reserved.