STK ObjectsSend comments on this topic.
SetAreaTypePattern Method (IAgATCommonTasks)
See Also
LatLons
Windows





Windows & Linux

Description

Sets the boundary area type to Pattern.

Syntax

[Visual Basic .NET]
Public Function SetAreaTypePattern( _
    ByVal LatLons As System.Array _
) As IAgAreaTypePatternCollection
[C#]
public IAgAreaTypePatternCollection SetAreaTypePattern(
    System.Array LatLons
);
[Managed C++]
public: IAgAreaTypePatternCollection^ SetAreaTypePattern(
    System::Array ^ LatLons
);
[Unmanaged C++]
public: HRESULT SetAreaTypePattern(
    SAFEARRAY * * LatLons,
    IAgAreaTypePatternCollection ** ppRetVal
);
[Java]
public IAgAreaTypePatternCollection setAreaTypePattern(
    AgSafeArray LatLons
);
[Python - STK API ]
def SetAreaTypePattern(self, LatLons:list) -> "IAgAreaTypePatternCollection":

Parameters

LatLons

See Also

Example

Define area target boundary and position from list of lat/lon/alt (using common tasks)
[C#]
// By using the CommonTasks interface,
// make an array of lattitude and longitude boundary points
Array boundary = new object[,]
    {
        { 40.040, -76.304 },
        { 40.337, -75.922 },
        { 40.028, -75.628 }
    };

// SetAreaTypePattern expects a two dimensional array of latitude and longitude values
areaTarget.CommonTasks.SetAreaTypePattern(ref boundary);
Define area target boundary and position from list of lat/lon/alt (using common tasks)
[Visual Basic .NET]
' By using the CommonTasks interface,
' make an array of lattitude and longitude boundary points
Dim boundary As Array = New Object(,) {{40.04, -76.304}, {40.337, -75.922}, {40.028, -75.628}}

' SetAreaTypePattern expects a two dimensional array of latitude and longitude values
areaTarget.CommonTasks.SetAreaTypePattern(boundary)
© 2024 Analytical Graphics, Inc. All Rights Reserved.