STK ObjectsSend comments on this topic.
IAgCvBoundsCustomRegions Interface

Description

Custom Regions.

Public Properties

Public Property AreaTargetsArea target to be used as part of the coverage area.
Public Property CheckForHolesCheck for holes in custom region.
Public Property RegionFilesFile containing user-defined points defining a specific grid region.
Public Property SmallRegionAlgorithmDisables or enables one of the two special gridding algorithms triggered when Custom Region grid includes a single small region (longitude span less than 1 deg).

Interfaces

Implemented Interface
IAgCvBounds

CoClasses that Implement IAgCvBoundsCustomRegions

Example

Define a custom grid using area targets
[C#]
// Get the IAgCvGrid interface
IAgCvGrid cvGrid = coverageDefinition.Grid;

// Set bound region type to use custom regions
cvGrid.BoundsType = AgECvBounds.eBoundsCustomRegions;

// Get IAgCvBoundsCustomRegions interface
IAgCvBoundsCustomRegions boundRegion = cvGrid.Bounds as IAgCvBoundsCustomRegions;

// Add custom regions
boundRegion.AreaTargets.Add("AreaTarget/AreaTarget1");
boundRegion.AreaTargets.Add("AreaTarget/AreaTarget2");
Define a custom grid using area targets
[Visual Basic .NET]
' Get the IAgCvGrid interface
Dim cvGrid As IAgCvGrid = coverageDefinition.Grid

' Set bound region type to use custom regions
cvGrid.BoundsType = AgECvBounds.eBoundsCustomRegions

' Get IAgCvBoundsCustomRegions interface
Dim boundRegion As IAgCvBoundsCustomRegions = TryCast(cvGrid.Bounds, IAgCvBoundsCustomRegions)

' Add custom regions
boundRegion.AreaTargets.Add("AreaTarget/AreaTarget1")
boundRegion.AreaTargets.Add("AreaTarget/AreaTarget2")
© 2024 Analytical Graphics, Inc. All Rights Reserved.