AGI STK Objects 11 Send comments on this topic.
IAgFmDefAccessConstraint Interface
Windows






Windows & Linux

Description

Access Constraint Figure of Merit.

Public Properties

Public Property AcrossAssetsValue of the constraint that is to be selected based on all currently available assets.
Public Property ConstraintName of the access constraint.
Public Property ConstraintNameThis property is deprecated. Deprecated due to the fact that the constraint list is dynamically created. Use Constraint property.
Public Property TimeStepThe value to be used during the sampling of the dynamic definition for use in the static definition.

Interfaces

Implemented Interface
IAgFmDefCompute

Example

Set the figure of merit definition to access constraint by enumeration
[C#]Copy Code
IAgFmDefAccessConstraint acd = fom.SetAccessConstraintDefinition(AgEFmConstraintName.eFmAzimuthRate); 
 

Configure figure of merit definition altitude access constraint
[C#]Copy Code
// Set access constraint defintion to altitude 
fom.SetAccessConstraintDefinition(AgEFmConstraintName.eFmAltitude); 
 
// Get IAgFmDefAccessConstraint interface 
IAgFmDefAccessConstraint defAccessCnstr = fom.Definition as IAgFmDefAccessConstraint; 
 
// Confiure access constraint properties 
defAccessCnstr.SetComputeType(AgEFmCompute.eMaximum); 
defAccessCnstr.AcrossAssets = AgEFmAcrossAssets.eFmMinimum; 
defAccessCnstr.TimeStep = 60.0
 

Set the figure of merit definition to access constraint by enumeration
[Visual Basic .NET]Copy Code
Dim acd As IAgFmDefAccessConstraint = fom.SetAccessConstraintDefinition(AgEFmConstraintName.eFmAzimuthRate)

Configure figure of merit definition altitude access constraint
[Visual Basic .NET]Copy Code
' Set access constraint defintion to altitude
fom.SetAccessConstraintDefinition(AgEFmConstraintName.eFmAltitude)

' Get IAgFmDefAccessConstraint interface
Dim defAccessCnstr As IAgFmDefAccessConstraint = TryCast(fom.Definition, IAgFmDefAccessConstraint)

' Confiure access constraint properties
defAccessCnstr.SetComputeType(AgEFmCompute.eMaximum)
defAccessCnstr.AcrossAssets = AgEFmAcrossAssets.eFmMinimum
defAccessCnstr.TimeStep = 60

CoClasses that Implement IAgFmDefAccessConstraint

© 2019 Analytical Graphics, Inc. All Rights Reserved.