Class TNearestPoint2DInterpolator

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TNearestPoint2DInterpolator = class(TCustomPoint2DInterpolator)

Description

no description available, TCustomPoint2DInterpolator description follows

TCustomPoint2DInterpolator implements an interpolator that returns the value of the TScreenObject which has a vertex closest to the point of interest.

Hierarchy

Overview

Fields

Private FQuadTree: TRbwQuadTree;

Methods

Private function GetPointerToResult(const Location: TPoint2D): Pointer;
Protected procedure SetArraySize(const DataSet: TDataArray; Count: Integer); override;
Protected procedure StoreData(Sender: TObject; const DataSet: TDataArray); override;
Protected procedure StoreDataValue(Count: Integer; const DataSet: TDataArray; APoint: TPoint2D; AScreenObject: TScreenObject; SectionIndex: integer); override;
Public procedure Finalize(const DataSet: TDataArray); override;
Public class function InterpolatorName: string; override;
Public class function ValidReturnTypes: TRbwDataTypes; override;
Public function BooleanResult(const Location: TPoint2D): boolean; override;
Public function IntegerResult(const Location: TPoint2D): integer; override;
Public function RealResult(const Location: TPoint2D): real; override;
Public function StringResult(const Location: TPoint2D): string; override;
Public constructor Create(AOwner: TComponent); override;

Description

Fields

Private FQuadTree: TRbwQuadTree;

FQuadTree is used to find the closest node on an object to the location of interest.

Methods

Private function GetPointerToResult(const Location: TPoint2D): Pointer;
 
Protected procedure SetArraySize(const DataSet: TDataArray; Count: Integer); override;
 
Protected procedure StoreData(Sender: TObject; const DataSet: TDataArray); override;
 
Protected procedure StoreDataValue(Count: Integer; const DataSet: TDataArray; APoint: TPoint2D; AScreenObject: TScreenObject; SectionIndex: integer); override;
 
Public procedure Finalize(const DataSet: TDataArray); override;
 
Public class function InterpolatorName: string; override;

InterpolatorName is the name of the interpolator displayed to the user.

Public class function ValidReturnTypes: TRbwDataTypes; override;
 
Public function BooleanResult(const Location: TPoint2D): boolean; override;

BooleanResult gets the boolean value at Location of the closest TScreenObject that sets TCustom2DInterpolater.DataSet by interpolation,

Public function IntegerResult(const Location: TPoint2D): integer; override;

IntegerResult gets the integer value at Location of the closest TScreenObject that sets TCustom2DInterpolater.DataSet by interpolation,

Public function RealResult(const Location: TPoint2D): real; override;

RealResult gets the real-number value at Location of the closest TScreenObject that sets TCustom2DInterpolater.DataSet by interpolation,

Public function StringResult(const Location: TPoint2D): string; override;

StringResult gets the string value at Location of the closest TScreenObject that sets TCustom2DInterpolater.DataSet by interpolation,

Public constructor Create(AOwner: TComponent); override;
 

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