UNITS
CLASSES, INTERFACES, OBJECTS
TYPES
VARIABLES
CONSTANTS
FUNCTIONS, PROCEDURES
IDENTIFIERS

Class TMoveRecord

Unit

UConturWeber

Declaration

type TMoveRecord = class(TObject)

Description

Representation of one move. The Class has more a didactical function so many datas are stored twice.

Fields

NameDescription
DestHeight Height of DestPosX,DestPosY
DestPosX X Coord. of target cell for height interpolation
DestPosY Y Coord. of target cell for height interpolation
FloatPosX X Coord. of the oversampled data field
FloatPosY Y Coord. of the oversampled data field
Location Location of then mouse cursor tmlBorder - cursor is aot of the field tmlinner -cursor is inside the field
MoveDir Move direction 0 - west , 1 - south , 2 - east, 3 - north
MoveHeight Height of MovePosX,MovePosY ! if Location is tmlBorder the height is setted to the intersection height
MovePosX X Coord. of mouse position
MovePosY Y Coord. of mouse position

Methods

Overview

Procedure Assign(aMove:TMoveRecord);
Function CorrectX(IsectHeight:Double):Double;
Function CorrectY(IsectHeight:Double):Double;
Function ToString(IsectHeight:Double):String;

Description

Procedure Assign(aMove:TMoveRecord);

.. to assign datas

Function CorrectX(IsectHeight:Double):Double;

X Coord. height corrected position (intersection with the given height).

Function CorrectY(IsectHeight:Double):Double;

X Coord. height corrected position (intersection with the given height).

Function ToString(IsectHeight:Double):String;

create a string from the datas for debugging

Properties

None.


Generated by pasdoc 0.6.20 on Tue 5 Mar 2002 16:02:19