TPoint

The TPoint type is a record which defines a X,Y coordinate.

Point

function Point(X, Y: Integer): TPoint;

TPoint.Create

function TPoint.Create(X, Y: Integer): TPoint; static;

TPoint.InPolygon

function TPoint.InPolygon(Poly: TPointArray): Boolean;

TPoint.InCircle

function TPoint.InCircle(Center: TPoint; Radius: Double): Boolean;

TPoint.InTriangle

function TPoint.InTriangle(A, B, C: TPoint): Boolean;

TPoint.InBox

function TPoint.InBox(Box: TBox): Boolean;

TPoint.DistanceTo

function TPoint.DistanceTo(Other: TPoint): Double;

TPoint.Rotate

function TPoint.Rotate(Radians: Double; Center: TPoint): TPoint;

TPoint.RotateFast

function TPoint.RotateFast(Degrees: Integer; Center: TPoint): TPoint;

TPoint.Magnitude

function TPoint.Magnitude: Double;

TPoint.AngleBetween

function TPoint.AngleBetween(Other: TPoint): Double;

TPoint.Offset

function TPoint.Offset(X, Y: Integer): TPoint;

TPoint.Offset

function TPoint.Offset(P: TPoint): TPoint;

TPoint.Random

function TPoint.Random(Min, Max: Integer): TPoint;

TPoint.Random

function TPoint.Random(Value: Integer): TPoint;

TPoint +

operator + (L, R: TPoint): TPoint;

TPoint +=

operator += (var L: TPoint; R: TPoint): TPoint;

TPoint *

operator * (L: TPoint; R: Double): TPoint;

TPoint *=

operator *= (var L: TPoint; R: Double): TPoint;

TPoint -

operator - (L, R: TPoint): TPoint;

TPoint -=

operator -= (var L: TPoint; R: TPoint): TPoint;

TPoint in

operator in(Left: TPoint; Right: TBox): Boolean;