Class TSpecialCurveParameter

Unit

Declaration

type TSpecialCurveParameter = class(TObject)

Description

Represents parameter of curve point set. It could be variable or not, depending on selected type.

Hierarchy

  • TObject
  • TSpecialCurveParameter

Overview

Fields

Protected FName: string;
Protected FSavedValue: double;
Protected FType: TParameterType;
Protected FValue: double;
Protected FVariationDisabled: boolean;
Protected FVariationStep: double;

Methods

Public constructor Create;
Public function CreateCopy: TSpecialCurveParameter; virtual; abstract;
Public function MinimumStepAchieved: boolean; virtual; abstract;
Protected function GetValue: double; virtual;
Public procedure CopyTo(const Dest: TSpecialCurveParameter); virtual;
Public procedure InitValue; virtual; abstract;
Public procedure InitVariationStep; virtual; abstract;
Public procedure MultiplyVariationStep(Factor: double);
Protected procedure SetValue(AValue: double); virtual;
Protected procedure WriteValueToLog(AValue: double);

Properties

Public property Name: string read FName write FName;
Public property SavedValue: double read FSavedValue write FSavedValue;
Public property Type_: TParameterType read FType write FType;
Public property Value: double read GetValue write SetValue;
Public property VariationDisabled: boolean read FVariationDisabled write FVariationDisabled;
Public property VariationStep: double read FVariationStep write FVariationStep;

Description

Fields

Protected FName: string;
 
Protected FSavedValue: double;
 
Protected FType: TParameterType;
 
Protected FValue: double;
 
Protected FVariationDisabled: boolean;
 
Protected FVariationStep: double;
 

Methods

Public constructor Create;
 
Public function CreateCopy: TSpecialCurveParameter; virtual; abstract;

Must be abstract because only instances of descendant classes could be created. https://github.com/dvmorozov/fit/issues/143

Public function MinimumStepAchieved: boolean; virtual; abstract;
 
Protected function GetValue: double; virtual;

These methods are overriden in descendant classes to provide some special computation on parameter values.

Public procedure CopyTo(const Dest: TSpecialCurveParameter); virtual;
 
Public procedure InitValue; virtual; abstract;
 
Public procedure InitVariationStep; virtual; abstract;
 
Public procedure MultiplyVariationStep(Factor: double);
 
Protected procedure SetValue(AValue: double); virtual;
 
Protected procedure WriteValueToLog(AValue: double);
 

Properties

Public property Name: string read FName write FName;
 
Public property SavedValue: double read FSavedValue write FSavedValue;
 
Public property Type_: TParameterType read FType write FType;
 
Public property Value: double read GetValue write SetValue;
 
Public property VariationDisabled: boolean read FVariationDisabled write FVariationDisabled;
 
Public property VariationStep: double read FVariationStep write FVariationStep;
 

Generated by PasDoc 0.15.0.