Geometry

Methods and functions related to geometry.


TPoint.InRange

function TPoint.InRange(other: TPoint; dist: Double): Boolean; constref;
function TPoint.AnyInRange(other: TPointArray; dist: Double): Boolean; constref;
function TPoint.AllInRange(other: TPointArray; dist: Double): Boolean; constref;

Checks if the current point is within dist distance of other.


T2DPointArray.InSameTPA

function T2DPointArray.InSameTPA(a, b: TPoint): Boolean;

Tells you whether a and b both belong to the same inner TPointArray.


TImage.RotateClockWise

function TImage.RotateClockWise(times: Integer = 1): TImage;

Rotate a TImage clockwise times amoutn of times.


TImage.RotateCounterClockWise

function TImage.RotateCounterClockWise(times: Integer = 1): TImage;

Rotate a TImage counter clockwise times amoutn of times.