AGI STK VGT 11 Send comments on this topic.
IAgCrdnCalcScalarConstant Interface
Windows






Windows & Linux

Description

Constant scalar value of specified dimension.

Public Properties

Public Property DimensionThe dimension of the constant value, this can be any of the STK supported dimensions.
Public Property ValueA value which can be in any STK supported unit available for selected dimension.

Example

Create a calc scalar constant.
[C#]Copy Code
//Create a calc scalar constant. 
IAgCrdnCalcScalarConstant calcScalar = (IAgCrdnCalcScalarConstant)provider.CalcScalars.Factory.Create( 
    "CalcScalarName""Calc scalar constant.", AgECrdnCalcScalarType.eCrdnCalcScalarTypeConstant); 
 

Create a calc scalar constant.
[Visual Basic .NET]Copy Code
'Create a calc scalar constant.
Dim calcScalar As IAgCrdnCalcScalarConstant = DirectCast(provider.CalcScalars.Factory.Create("CalcScalarName", "Calc scalar constant.", AgECrdnCalcScalarType.eCrdnCalcScalarTypeConstant), IAgCrdnCalcScalarConstant)

CoClasses that Implement IAgCrdnCalcScalarConstant

© 2018 Analytical Graphics, Inc. All Rights Reserved.