STK ObjectsSend comments on this topic.
IAgFmDefAccessConstraint Interface

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 ConstraintNameName of the access constraint as an enumeration. If the constraint is not in AgEFmConstraintName then use Constraint instead.
Public Property TimeStepGets or sets the value to be used during the sampling of the dynamic definition for use in the static definition.

Interfaces

Implemented Interface
IAgFmDefCompute
IAgFmDefinition

CoClasses that Implement IAgFmDefAccessConstraint

Example

Set the figure of merit definition to access constraint by enumeration
[C#]
IAgFmDefAccessConstraint acd = fom.SetAccessConstraintDefinition(AgEFmConstraintName.eFmAzimuthRate);
Configure figure of merit definition altitude access constraint
[C#]
// Set access constraint definition 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]
Dim acd As IAgFmDefAccessConstraint = fom.SetAccessConstraintDefinition(AgEFmConstraintName.eFmAzimuthRate)
Configure figure of merit definition altitude access constraint
[Visual Basic .NET]
' Set access constraint definition 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
© 2024 Analytical Graphics, Inc. All Rights Reserved.