Skip to main content

OpenTD .NET4 reference 2025 R2

OpenTD.RcArrayInterpolationData Class Reference

Last update: 16.07.2025

<exclude > More...

Inheritance diagram for OpenTD.RcArrayInterpolationData:
OpenTD.LogicObjectOpenTD.ITdDerivedOpenTD.OpenTDObjectOpenTD.ITdDerivedOpenTD.IUpdatableOpenTD.IReassignableOpenTD.ArrayInterpolation

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

 RcArrayInterpolationData ()
 
void Validate ()
 
override void Update ()
 Updates the TD entity with the latest client data.
 
override void UpdateFromTD ()
 Updates the client-side instance with the latest data from the TD entity.
 
override void CreateIn (ThermalDesktop td)
 Creates the TD entity in the specified TD instance.
 
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 Handle [get, set]
 
string Comment [get, set]
 
SubmodelNameData Submodel [get, set]
 
ExpressionData EnabledExp [get, set]
 
string GroupName [get, set]
 
LogicType Type [get]
 
string TdClassName [get]
 

Detailed Description

<exclude >

Member Enumeration Documentation

◆ InputTypes

Identitifes the independent variable type for an ArrayInterpolation.

Enumerator
TIME 
REGISTER 
USER 

◆ InterpTypes

Type of interpolation for an ArrayInterpolation.

Enumerator
LINEAR 
CYCLICAL 
PARABOLIC 
LAGRANGIAN 
STEP 
CYCLICALPARABOLIC 

◆ LogicType

TD Logic Object types.

Enumerator
TRANSLATECODE 
ARRAY_INTERP 
BIVAR_INTERP 
PID 
USERCODE 
DIFFEQ 
DIFFEQANGULAR 
DIFFEQRPM 
COMPAREDL 
USER_ARRAY 
SUBCOMPLQ 
FORTRANARRAY 
MAXLOGICTYPE 

Constructor & Destructor Documentation

◆ RcArrayInterpolationData()

OpenTD.RcArrayInterpolationData.RcArrayInterpolationData ( )
inline

Member Function Documentation

◆ CreateIn()

override void OpenTD.LogicObject.CreateIn ( ThermalDesktop td)
inlineinherited

Creates the TD entity in the specified TD instance.

Implements OpenTD.IReassignable.

◆ SetFrom()

void OpenTD.OpenTDObject.SetFrom ( OpenTDObject x)
inlineinherited

◆ ToString()

override string OpenTD.LogicObject.ToString ( )
inlineinherited

◆ Update()

override void OpenTD.LogicObject.Update ( )
inlineinherited

Updates the TD entity with the latest client data.

Implements OpenTD.IUpdatable.

◆ UpdateFromTD()

override void OpenTD.LogicObject.UpdateFromTD ( )
inlineinherited

Updates the client-side instance with the latest data from the TD entity.

Implements OpenTD.IUpdatable.

◆ UpdateIn()

void OpenTD.OpenTDObject.UpdateIn ( ThermalDesktop td)
inlineinherited

Updates the TD entity corresponding to this object in the specified TD instance, if possible.

Implements OpenTD.IReassignable.

◆ Validate()

void OpenTD.RcArrayInterpolationData.Validate ( )
inline

Member Data Documentation

◆ EPSILON

readonly double OpenTD.RcArrayInterpolationData.EPSILON = 1e-6
static

◆ TdProxy

ITdCommander OpenTD.OpenTDObject.TdProxy
protectedinherited

Property Documentation

◆ ApplyMult

bool OpenTD.RcArrayInterpolationData.ApplyMult = false
getset

◆ CheckTime

bool OpenTD.RcArrayInterpolationData.CheckTime = false
getset

◆ Comment

string OpenTD.LogicObject.Comment
getsetinherited

◆ EnabledExp

ExpressionData OpenTD.LogicObject.EnabledExp
getsetinherited

◆ GroupName

string OpenTD.LogicObject.GroupName
getsetinherited

◆ Handle

string OpenTD.LogicObject.Handle
getsetinherited

◆ InputSymbol

string OpenTD.RcArrayInterpolationData.InputSymbol = string.Empty
getset

◆ InputType

InputTypes OpenTD.RcArrayInterpolationData.InputType = InputTypes.TIME
getset

◆ InterpType

InterpTypes OpenTD.RcArrayInterpolationData.InterpType = InterpTypes.LINEAR
getset

◆ Multiplier

double OpenTD.RcArrayInterpolationData.Multiplier = 1.0
getset

◆ MultiplierExpression

ExpressionData OpenTD.RcArrayInterpolationData.MultiplierExpression = new ExpressionData()
getset

◆ Order

int OpenTD.RcArrayInterpolationData.Order = 3
getset

◆ OutputSymbol

string OpenTD.RcArrayInterpolationData.OutputSymbol = string.Empty
getset

◆ Period

double OpenTD.RcArrayInterpolationData.Period = 0.0
getset

◆ PeriodExpression

ExpressionData OpenTD.RcArrayInterpolationData.PeriodExpression = new ExpressionData()
getset

◆ PostLogic

string OpenTD.RcArrayInterpolationData.PostLogic = string.Empty
getset

◆ PreLogic

string OpenTD.RcArrayInterpolationData.PreLogic = string.Empty
getset

◆ RoutineType

int OpenTD.RcArrayInterpolationData.RoutineType = 0
getset

◆ Submodel

SubmodelNameData OpenTD.LogicObject.Submodel
getsetinherited

◆ TdClassName

string OpenTD.ITdDerived.TdClassName
getinherited

◆ Type

LogicType OpenTD.LogicObject.Type
getinherited

◆ User

string OpenTD.RcArrayInterpolationData.User = string.Empty
getset

◆ X_SI

ListSI OpenTD.RcArrayInterpolationData.X_SI = new ListSI()
getset

Note that this array is always in SI units, regardless of WorkingUnits.

◆ XExp

ExpressionArrayClassData OpenTD.RcArrayInterpolationData.XExp = new ExpressionArrayClassData()
getset

◆ XSindaId

int OpenTD.RcArrayInterpolationData.XSindaId = 0
getset

◆ XUnitsType

UnitsData.UnitsType OpenTD.RcArrayInterpolationData.XUnitsType = UnitsData.UnitsType.DIMENSIONLESS
getset

◆ Y_SI

ListSI OpenTD.RcArrayInterpolationData.Y_SI = new ListSI()
getset

Note that this array is always in SI units, regardless of WorkingUnits.

◆ YExp

ExpressionArrayClassData OpenTD.RcArrayInterpolationData.YExp = new ExpressionArrayClassData()
getset

◆ YSindaId

int OpenTD.RcArrayInterpolationData.YSindaId = 0
getset

◆ YUnitsType

UnitsData.UnitsType OpenTD.RcArrayInterpolationData.YUnitsType = UnitsData.UnitsType.DIMENSIONLESS
getset

The documentation for this class was generated from the following file:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD/ArrayInterpolation.cs

Connect with Ansys