Class TRealPhastDataSet

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TRealPhastDataSet = class(TArrayPhastDataSet)

Description

TRealPhastDataSet is a TArrayPhastDataSet that stores real numbers.

Hierarchy

Overview

Fields

Private FCellValue1: array of array of array of double;
Private FCellValue2: array of array of array of double;
Private FValue1: double;
Private FValue2: double;

Methods

Private function GetCellValue1(const ALay, ARow, ACol: integer): double;
Private function GetCellValue2(const ALay, ARow, ACol: integer): double;
Private procedure SetCellValue1(const ALay, ARow, ACol: integer; const Value: double);
Private procedure SetCellValue2(const ALay, ARow, ACol: integer; const Value: double);
Private procedure SetValue1(const Value: double);
Private procedure SetValue2(const Value: double);
Protected procedure ReadData(DecompressionStream: TDecompressionStream); override;
Protected procedure StoreData(Stream: TStream); override;
Protected procedure InitializePhastArrays; override;
Protected procedure SetDataType(const Value: TRbwDataType); override;
Protected procedure SetDimensions(const SetToZero: boolean); override;
Public procedure Assign(Source: TPersistent); override;
Public constructor Create(AnOwner: TComponent); override;

Properties

Public property CellValue1[constALay,ARow,ACol:integer]: double read GetCellValue1 write SetCellValue1;
Public property CellValue2[constALay,ARow,ACol:integer]: double read GetCellValue2 write SetCellValue2;
Published property Value1: double read FValue1 write SetValue1;
Published property Value2: double read FValue2 write SetValue2;

Description

Fields

Private FCellValue1: array of array of array of double;

FCellValue1: array of array of array of double; See CellValue1.

Private FCellValue2: array of array of array of double;

FCellValue2: array of array of array of double; See CellValue2.

Private FValue1: double;

FValue1: double; See Value1.

Private FValue2: double;

FValue2: double; See Value2.

Methods

Private function GetCellValue1(const ALay, ARow, ACol: integer): double;

See CellValue1.

Private function GetCellValue2(const ALay, ARow, ACol: integer): double;

See CellValue2.

Private procedure SetCellValue1(const ALay, ARow, ACol: integer; const Value: double);

See CellValue1.

Private procedure SetCellValue2(const ALay, ARow, ACol: integer; const Value: double);

See CellValue2.

Private procedure SetValue1(const Value: double);

See Value1.

Private procedure SetValue2(const Value: double);

See Value2.

Protected procedure ReadData(DecompressionStream: TDecompressionStream); override;
 
Protected procedure StoreData(Stream: TStream); override;
 
Protected procedure InitializePhastArrays; override;

InitializePhastArrays sets RealData for each cell in the grid.

Protected procedure SetDataType(const Value: TRbwDataType); override;

SetDataType checks that the TRbwDataType represents a real number.

Protected procedure SetDimensions(const SetToZero: boolean); override;

SetDimensions sets the dimensions of the arrays.

Public procedure Assign(Source: TPersistent); override;

Assign copies Source to the TRealPhastDataSet. If Source is a TRealPhastDataSet or a TPhastInterpolationValues, PHAST-style interpolation data are copied.

Public constructor Create(AnOwner: TComponent); override;

Create creates an instance of TRealPhastDataSet.

Properties

Public property CellValue1[constALay,ARow,ACol:integer]: double read GetCellValue1 write SetCellValue1;

CellValue1 represents the first value used for PHAST-style interpolation at each location in the data set.

Public property CellValue2[constALay,ARow,ACol:integer]: double read GetCellValue2 write SetCellValue2;

CellValue2 represents the second value used for PHAST-style interpolation at each location in the data set.

Published property Value1: double read FValue1 write SetValue1;

Value1 is the first value used for PHAST-style interpolation when PHAST-style interpolation is applied to the entire data set.

Published property Value2: double read FValue2 write SetValue2;

Value2 is the second value used for PHAST-style interpolation when PHAST-style interpolation is applied to the entire data set.


Generated by PasDoc 0.12.1 on 2013-05-13 15:41:55