Record TVector2Integer

Unit

Declaration

type TVector2Integer = record

Description

Vector of 2 Integer values.

See also
TVector3Integer
Vector of 3 Integer values.

Overview

Internal Types

TIndex = 0..1;

Fields

var Data: array [TIndex] of Integer;

Methods

class operator + (const A, B: TVector2Integer): TVector2Integer; inline;
class operator - (const A, B: TVector2Integer): TVector2Integer; inline;
class operator - (const V: TVector2Integer): TVector2Integer; inline;
function ToString: string;
function IsZero: boolean; inline;
class function Equals(const V1, V2: TVector2Integer): boolean; static; inline;
class function Zero: TVector2Integer; static; inline;

Properties

property Items [constIndex:TIndex]: Integer read GetItems write SetItems;
property X: Integer index 0 read GetItemsInt write SetItemsInt;
property Y: Integer index 1 read GetItemsInt write SetItemsInt;

Description

Internal Types

TIndex = 0..1;
 

Fields

var Data: array [TIndex] of Integer;
 

Methods

class operator + (const A, B: TVector2Integer): TVector2Integer; inline;
 
class operator - (const A, B: TVector2Integer): TVector2Integer; inline;
 
class operator - (const V: TVector2Integer): TVector2Integer; inline;
 
function ToString: string;
 
function IsZero: boolean; inline;
 
class function Equals(const V1, V2: TVector2Integer): boolean; static; inline;
 
class function Zero: TVector2Integer; static; inline;
 

Properties

property Items [constIndex:TIndex]: Integer read GetItems write SetItems;
 
property X: Integer index 0 read GetItemsInt write SetItemsInt;
 
property Y: Integer index 1 read GetItemsInt write SetItemsInt;
 

Generated by PasDoc 0.15.0.