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





Description

Custom Regions

Object Model



Public Properties

Public Property AreaTargets Area target to be used as part of the coverage area.
Public Property CheckForHoles Check for holes in custom region.
Public Property RegionFiles File containing user-defined points defining a specific grid region.
Public Property SmallRegionAlgorithm Disables 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

Example

Define a custom grid using area targets
[C#] Copy Code
// 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] Copy Code
' 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")

CoClasses that Implement IAgCvBoundsCustomRegions

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1