AGI STK VGT 11 Send comments on this topic.
IAgCrdnConditionScalarBounds Interface





Description

Defined by determining if input scalar is within specified bounds; returns +1 if satisfied, -1 if not satisfied and 0 if on boundary.

Object Model


Public Methods

Public Method GetMaximum Get the maximum bound value from the condition. Call SetMaximum to apply changes.
Public Method GetMinimum Get the minimum bound value from the condition. Call SetMinimum to apply changes.
Public Method Set Set the min/max bounds. Throws an exception if the minimum is greater than maximum.
Public Method SetMaximum Set the maximum bound value for the condition.
Public Method SetMinimum Set the minimum bound value for the condition.

Public Properties

Public Property Operation Get the operation from the condition that determines how the bounds are considered. The operation can be set to define satisfaction when the scalar is above minimum, below maximum, between minimum and maximum or outside minimum and maximum.
Public Property Scalar Get the scalar calculation from the condition.

Example

Create a condition defined by determining if input scalar is within specified bounds.
[C#] Copy Code
//Create a condition from a scalar. 
IAgCrdnConditionScalarBounds condition = (IAgCrdnConditionScalarBounds)provider.Conditions.Factory.Create( 
    "ConditionName""Condition from a scalar.", AgECrdnConditionType.eCrdnConditionTypeScalarBounds); 
 

Create a condition defined by determining if input scalar is within specified bounds.
[Visual Basic .NET] Copy Code
'Create a condition from a scalar.
Dim condition As IAgCrdnConditionScalarBounds = DirectCast(provider.Conditions.Factory.Create("ConditionName", "Condition from a scalar.", AgECrdnConditionType.eCrdnConditionTypeScalarBounds), IAgCrdnConditionScalarBounds)

CoClasses that Implement IAgCrdnConditionScalarBounds

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1