OpenTD.ArrayInterpolation Class Reference
Last update: 16.07.2025Client-side representation of an Array Interpolatiopn Logic Object. More...

Public Types | |
| enum | InputTypes { TIME , REGISTER , USER } |
| Identitifes the independent variable type for an ArrayInterpolation. More... | |
| enum | InterpTypes { LINEAR , CYCLICAL , PARABOLIC , LAGRANGIAN , STEP , CYCLICALPARABOLIC } |
| Type of interpolation for an ArrayInterpolation. More... | |
| enum | LogicType { TRANSLATECODE = -1 , ARRAY_INTERP , BIVAR_INTERP , PID , USERCODE , DIFFEQ , DIFFEQANGULAR , DIFFEQRPM , COMPAREDL , USER_ARRAY , SUBCOMPLQ , FORTRANARRAY , MAXLOGICTYPE } |
| TD Logic Object types. More... | |
Public Member Functions | |
| override void | Update () |
| Updates the TD entity with the latest client data. | |
| override void | CreateIn (ThermalDesktop td) |
| Creates the TD entity in the specified TD instance. | |
| void | Validate () |
| override void | UpdateFromTD () |
| Updates the client-side instance with the latest data from the TD entity. | |
| override string | ToString () |
| void | SetFrom (OpenTDObject x) |
| void | UpdateIn (ThermalDesktop td) |
| Updates the TD entity corresponding to this object in the specified TD instance, if possible. | |
Static Public Attributes | |
| static readonly double | EPSILON = 1e-6 |
Protected Attributes | |
| ITdCommander | TdProxy |
Properties | |
| ListSI | X_SI = new ListSI() [get, set] |
| Note that this array is always in SI units, regardless of WorkingUnits. | |
| ExpressionArrayClassData | XExp = new ExpressionArrayClassData() [get, set] |
| UnitsData.UnitsType | XUnitsType = UnitsData.UnitsType.DIMENSIONLESS [get, set] |
| ListSI | Y_SI = new ListSI() [get, set] |
| Note that this array is always in SI units, regardless of WorkingUnits. | |
| ExpressionArrayClassData | YExp = new ExpressionArrayClassData() [get, set] |
| UnitsData.UnitsType | YUnitsType = UnitsData.UnitsType.DIMENSIONLESS [get, set] |
| InputTypes | InputType = InputTypes.TIME [get, set] |
| InterpTypes | InterpType = InterpTypes.LINEAR [get, set] |
| double | Multiplier = 1.0 [get, set] |
| ExpressionData | MultiplierExpression = new ExpressionData() [get, set] |
| double | Period = 0.0 [get, set] |
| ExpressionData | PeriodExpression = new ExpressionData() [get, set] |
| string | InputSymbol = string.Empty [get, set] |
| string | OutputSymbol = string.Empty [get, set] |
| string | User = string.Empty [get, set] |
| bool | ApplyMult = false [get, set] |
| int | Order = 3 [get, set] |
| int | RoutineType = 0 [get, set] |
| bool | CheckTime = false [get, set] |
| int | XSindaId = 0 [get, set] |
| int | YSindaId = 0 [get, set] |
| string | PreLogic = string.Empty [get, set] |
| string | PostLogic = string.Empty [get, set] |
| string | TdClassName [get] |
| string | Handle [get, set] |
| string | Comment [get, set] |
| SubmodelNameData | Submodel [get, set] |
| ExpressionData | EnabledExp [get, set] |
| string | GroupName [get, set] |
| LogicType | Type [get] |
Detailed Description
Client-side representation of an Array Interpolatiopn Logic Object.
- See also
- OpenTD.ITdDerived
Member Enumeration Documentation
◆ InputTypes
|
inherited |
Identitifes the independent variable type for an ArrayInterpolation.
| Enumerator | |
|---|---|
| TIME | |
| REGISTER | |
| USER | |
◆ InterpTypes
|
inherited |
Type of interpolation for an ArrayInterpolation.
| Enumerator | |
|---|---|
| LINEAR | |
| CYCLICAL | |
| PARABOLIC | |
| LAGRANGIAN | |
| STEP | |
| CYCLICALPARABOLIC | |
◆ LogicType
|
inherited |
Member Function Documentation
◆ CreateIn()
|
inline |
Creates the TD entity in the specified TD instance.
Implements OpenTD.IReassignable.
◆ SetFrom()
|
inlineinherited |
◆ ToString()
|
inlineinherited |
◆ Update()
|
inline |
Updates the TD entity with the latest client data.
Implements OpenTD.IUpdatable.
◆ UpdateFromTD()
|
inlineinherited |
Updates the client-side instance with the latest data from the TD entity.
Implements OpenTD.IUpdatable.
◆ UpdateIn()
|
inlineinherited |
Updates the TD entity corresponding to this object in the specified TD instance, if possible.
Implements OpenTD.IReassignable.
◆ Validate()
|
inlineinherited |
Member Data Documentation
◆ EPSILON
|
staticinherited |
◆ TdProxy
|
protectedinherited |
Property Documentation
◆ ApplyMult
|
getsetinherited |
◆ CheckTime
|
getsetinherited |
◆ Comment
|
getsetinherited |
◆ EnabledExp
|
getsetinherited |
◆ GroupName
|
getsetinherited |
◆ Handle
|
getsetinherited |
◆ InputSymbol
|
getsetinherited |
◆ InputType
|
getsetinherited |
◆ InterpType
|
getsetinherited |
◆ Multiplier
|
getsetinherited |
◆ MultiplierExpression
|
getsetinherited |
◆ Order
|
getsetinherited |
◆ OutputSymbol
|
getsetinherited |
◆ Period
|
getsetinherited |
◆ PeriodExpression
|
getsetinherited |
◆ PostLogic
|
getsetinherited |
◆ PreLogic
|
getsetinherited |
◆ RoutineType
|
getsetinherited |
◆ Submodel
|
getsetinherited |
◆ TdClassName
|
getinherited |
◆ Type
|
getinherited |
◆ User
|
getsetinherited |
◆ X_SI
Note that this array is always in SI units, regardless of WorkingUnits.
◆ XExp
|
getsetinherited |
◆ XSindaId
|
getsetinherited |
◆ XUnitsType
|
getsetinherited |
◆ Y_SI
Note that this array is always in SI units, regardless of WorkingUnits.
◆ YExp
|
getsetinherited |
◆ YSindaId
|
getsetinherited |
◆ YUnitsType
|
getsetinherited |
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/ArrayInterpolation.cs