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

Class TXYPoint

Unit

UXYPoint

Declaration

type TXYPoint = class(TObject)

Description

Definition of the 2 dimensionsl point object with double prec.

Fields

None.

Methods

Overview

Constructor Create;
Constructor CreateByCoord(aX, aY: TDouble);
Constructor CreateByPoint(aPoint: TXYPoint);
Destructor Destroy; Override;
Procedure Assign(aPoint: TXYPoint);
Procedure List(Port: TStrings);
Procedure Read(Port: TReader);
Function ReadASC(Var Line: String; EofLine: TBoolean): TBoolean;
Function ReadASCTol(Var Line: String; EofLine: TBoolean): TBoolean;
Function ToStr: String;
Procedure Transform(TRFM: TAffinTransform);
Procedure Write(Port: TWriter);
Function WriteASC(Line: String; EofLine: TBoolean): String;

Description

Constructor Create;

Standard constructor.

Constructor CreateByCoord(aX, aY: TDouble);

Constructor with given point coordinates.

Constructor CreateByPoint(aPoint: TXYPoint);

Construktor by given point (as a copy).

Destructor Destroy; Override;

Standard destructor.

Procedure Assign(aPoint: TXYPoint);

Make a copy of the data of X.

Procedure List(Port: TStrings);

Textual writing.

Procedure Read(Port: TReader);

Binary reading.

Function ReadASC(Var Line: String; EofLine: TBoolean): TBoolean;

Read from a string defined by CONST CXYPointTkn. EofLine search for ';' after the string else search for ','

Function ReadASCTol(Var Line: String; EofLine: TBoolean): TBoolean;

Read from a string defined by %S=(%E,%E). EofLine search for ';' after the string else search for ','

Function ToStr: String;

Point class to string conversation with formatting string defined by CONST CXYPointTkn.

Procedure Transform(TRFM: TAffinTransform);

Affine transformation.

Procedure Write(Port: TWriter);

Binary writing.

Function WriteASC(Line: String; EofLine: TBoolean): String;

Schreiben in einen String mit der Formatierung %S=(%E,%E) EofLine will close for ';' after the string else close with ','

Properties

Overview

X:
Y:

Description

X:

The x-Coordinate (Rechtswert) west to east.

Y:

The y-Cordinate (Hochwert) soutrh to nort.


Generated by pasdoc 0.6.20 on Mon 18 Feb 2002 20:55:35