AGI STK Objects 11 Send comments on this topic.
SetAreaTypeEllipse Method (IAgATCommonTasks)
See Also  Example
SemiMajorAxis
SemiMinorAxis
Bearing





Description

Sets the boundary area type to Ellipse.

Syntax

[Visual Basic .NET]
Public Function SetAreaTypeEllipse( _
   ByVal SemiMajorAxis As Double, _
   ByVal SemiMinorAxis As Double, _
   ByVal Bearing As System.Object _
) As IAgAreaTypeEllipse

[C#]
public IAgAreaTypeEllipse SetAreaTypeEllipse(
double SemiMajorAxis,
double SemiMinorAxis,
System.Object Bearing
);

[Managed C++]
public: IAgAreaTypeEllipse^ SetAreaTypeEllipse(
double SemiMajorAxis,
double SemiMinorAxis,
VARIANT Bearing
);

[Java]
public IAgAreaTypeEllipse setAreaTypeEllipse(
double SemiMajorAxis,
double SemiMinorAxis,
Variant Bearing
);

[Unmanaged C++]
public: HRESULT SetAreaTypeEllipse(
double SemiMajorAxis,
double SemiMinorAxis,
VARIANT Bearing,
IAgAreaTypeEllipse ** ReturnValue
);

Parameters

SemiMajorAxis
SemiMinorAxis
Bearing

Example

Set an elliptical area target (using common tasks)
[C#] Copy Code
// By using the CommonTasks interface 
areaTarget.CommonTasks.SetAreaTypeEllipse(85.2580.7544); 
 

Set an elliptical area target (using common tasks)
[Visual Basic .NET] Copy Code
' By using the CommonTasks interface
areaTarget.CommonTasks.SetAreaTypeEllipse(85.25, 80.75, 44)

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1