Class TCustomAnisotropicInterpolator

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCustomAnisotropicInterpolator = class(TCustom2DInterpolater)

Description

TCustomAnisotropicInterpolator is the abstract ancestor of interpolators that support anisotropy.

Hierarchy

Overview

Fields

Private FAnisotropy: real;

Methods

Private procedure SetAnisotropy(const Value: real);
Private procedure GetLimits(var MinY, MaxY, MinX, MaxX: Real; const DataSet: TDataArray);
Protected procedure InitializeQuadTreeLimits(const QuadTree: TRbwQuadTree; const DataSet: TDataArray);
Protected procedure InitializeVariablesAndExpression(const Location: TPoint2D; const AScreenObject: TScreenObject; SectionIndex: integer; var Expression: TExpression);
Public procedure Assign(Source: TPersistent); override;
Public constructor Create(AOwner: TComponent); override;
Public function SameAs(AnotherInterpolator: TCustom2DInterpolater): boolean; override;

Properties

Published property Anisotropy: real read FAnisotropy write SetAnisotropy;

Description

Fields

Private FAnisotropy: real;

See Anisotropy.

Methods

Private procedure SetAnisotropy(const Value: real);

See Anisotropy.

Private procedure GetLimits(var MinY, MaxY, MinX, MaxX: Real; const DataSet: TDataArray);
 
Protected procedure InitializeQuadTreeLimits(const QuadTree: TRbwQuadTree; const DataSet: TDataArray);

InitializeQuadTreeLimits initializes the limits of QuadTree to the grid limits.

Protected procedure InitializeVariablesAndExpression(const Location: TPoint2D; const AScreenObject: TScreenObject; SectionIndex: integer; var Expression: TExpression);

InitializeVariablesAndExpression sets Expression and sets the values of all the variables used by Expression and then evaluates Expression.

Public procedure Assign(Source: TPersistent); override;

Assign copies the Anisotropy of Source to the item that call Assign.

Public constructor Create(AOwner: TComponent); override;

Create creates an instance of TCustomAnisotropicInterpolator.

Public function SameAs(AnotherInterpolator: TCustom2DInterpolater): boolean; override;

SameAs returns True if AnotherInterpolator has the same parameters as the TCustomAnisotropicInterpolator being called.

Properties

Published property Anisotropy: real read FAnisotropy write SetAnisotropy;

Anisotropy is taken into account when measuring distances by multiplying the Y coordinate by the anisotropy before measuring distances in the normal way.

TCustomAnisotropicInterpolator doesn't actually do anything with Anisotropy. Descendants must decide what to do with it.


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