Class TPhastInterpolationValues
Unit
PhastDataSets
Declaration
type TPhastInterpolationValues = class(TPersistent)
Description
TPhastInterpolationValues
is used to store data related to PHAST-style interpolation and also to PHAST-style mixtures.
In PHAST-style interpolation, the user specifies a coordinate direction (X, Y, or Z), two distances, and two values. If the X, Y, or Z coordinate of the current node is less than or equal to the first distance, the first value is used. If the X, Y, or Z coordinate of the current node is greater than or equal to the second distance, the second value is used. For intermediate distances, linear interpolation between the two values is used.
In PHAST-style mixtures, the user specifies two values and a series of proportions (between 0 and 1). The proportion represents the fraction of value 1 in the mixture. One minus the proportion represents the fraction of value 2 in the mixture. This is useful for chemical mixtures where Value 1 and Value 2 represent indices to two end member solutions. The fraction tells how much or each end member to include in the solution.
Hierarchy
- TPersistent
- TPhastInterpolationValues
Overview
Fields
Methods
Properties
Description
Fields
Methods
 |
function GetDistance1: double; |
|
 |
function GetDistance2: double; |
See Distance2.
|
 |
procedure SetDistance1(const Value: double); |
See Distance1.
|
 |
procedure SetDistance2(const Value: double); |
See Distance2.
|
 |
procedure SetIntValue1(const Value: integer); |
See IntValue1.
|
 |
procedure SetIntValue2(const Value: integer); |
See IntValue2.
|
 |
procedure SetRealValue1(const Value: double); |
See RealValue1.
|
 |
procedure SetRealValue2(const Value: double); |
See RealValue2.
|
 |
function GetMixtureFormula: string; |
|
 |
procedure AssignTo(Dest: TPersistent); override; |
|
 |
constructor Create; |
|
 |
destructor Destroy; override; |
|
 |
function SameAs(Another: TPhastInterpolationValues): boolean; |
SameAs returns True if Another is identical with the TPhastInterpolationValues being called.
|
Properties
 |
property Distance1: double read GetDistance1 write SetDistance1; |
Distance1 is the first distance used for "PHAST-style interpolation. It is not used if InterpolationDirection = pidMix.
|
 |
property Distance2: double read GetDistance2 write SetDistance2; |
Distance2 is the second distance used for PHAST-style interpolation. It is not used if InterpolationDirection = pidMix.
|
 |
property IntValue1: integer read FIntValue1 write SetIntValue1; |
If DataSet stores integers, IntValue1 stores the first integer value for PHAST-style interpolation.
|
 |
property IntValue2: integer read FIntValue2 write SetIntValue2; |
If DataSet stores integers, IntValue2 stores the second integer value for PHAST-style interpolation.
|
 |
property MixtureFormula: string read GetMixtureFormula
write SetMixtureFormula; |
MixtureFormula is the expression used to determine the fraction for "PHAST" style mixtures. It is only used if InterpolationDirection = pidMix.
|
 |
property RealValue1: double read FRealValue1 write SetRealValue1; |
If DataSet stores real numbers, RealValue1 stores the first real number value for PHAST-style interpolation.
|
Generated by PasDoc 0.12.1 on 2013-05-13 15:41:55