C# Class GUIUtils.GraphVisualization.Functions.ProfileFunction

Inheritance: Function
Exibir arquivo Open project: ERTMSSolutions/ERTMSFormalSpecs Class Usage Examples

Public Methods

Method Description
ClearData ( ) : void

Clears the data related to that function

RecordCurrentValue ( double currentPosition, double relocatedPosition ) : void

Records the current value

Protected Methods

Method Description
GetValue ( double parameter ) : SpeedDistancePoint

Computes the function value according to the provided parameter

Relocate ( double lrbgPosition ) : void

Relocates the function according to the LRBG position

UpdateFunction ( IGraph graph, double lrbgPosition ) : void

Updates the provided function and relocates it according to the value of increment

Method Details

ClearData() public method

Clears the data related to that function
public ClearData ( ) : void
return void

GetValue() protected method

Computes the function value according to the provided parameter
protected GetValue ( double parameter ) : SpeedDistancePoint
parameter double
return SpeedDistancePoint

RecordCurrentValue() public method

Records the current value
public RecordCurrentValue ( double currentPosition, double relocatedPosition ) : void
currentPosition double
relocatedPosition double
return void

Relocate() protected method

Relocates the function according to the LRBG position
protected Relocate ( double lrbgPosition ) : void
lrbgPosition double
return void

UpdateFunction() protected method

Updates the provided function and relocates it according to the value of increment
protected UpdateFunction ( IGraph graph, double lrbgPosition ) : void
graph IGraph
lrbgPosition double
return void