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





Description

Base interface for IAgCvResolutionArea, IAgCvResolutionDistance and IAgCvResolutionLatLon, used to define coverage resolution (spacing between grid points).

Example

Define a grid resolution by latitude and longitude
[C#] Copy Code
// Get the IAgCvGrid interface 
IAgCvGrid grid = coverageDefinition.Grid; 
 
// Set resolution type 
grid.ResolutionType = AgECvResolution.eResolutionLatLon; 
 
// Get the resolution interface 
IAgCvResolution resolution = grid.Resolution; 
IAgCvResolutionLatLon latLonResolution = resolution as IAgCvResolutionLatLon; 
 
// Assign LatLon used to define grid resolution 
// Uses Angle Dimension 
latLonResolution.LatLon = 3.0
 

Define a grid resolution by latitude and longitude
[Visual Basic .NET] Copy Code
' Get the IAgCvGrid interface
Dim grid As IAgCvGrid = coverageDefinition.Grid

' Set resolution type
grid.ResolutionType = AgECvResolution.eResolutionLatLon

' Get the resolution interface
Dim resolution As IAgCvResolution = grid.Resolution
Dim latLonResolution As IAgCvResolutionLatLon = TryCast(resolution, IAgCvResolutionLatLon)

' Assign LatLon used to define grid resolution
' Uses Angle Dimension
latLonResolution.LatLon = 3

CoClasses that Implement IAgCvResolution

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1