TCircle

Record that contains center point and radius.


TCircle.Create

function TCircle.Create(ACenter: TPoint; ARadius: Integer): TCircle; static;

TCircle.CreateFromPoints

function CreateFromPoints(Points: TPointArray): TCircle; static;

TCircle.Edge

function TCircle.Edge: TPointArray;

TCircle.Filled

function TCircle.Filled: TPointArray;

TCircle.Bounds

function TCircle.Bounds: TBox;

TCircle.Contains

function TCircle.Contains(P: TPoint): Boolean

TCircle.PointAtDegrees

function TCircle.PointAtDegrees(Degrees: Double): TPoint;

TCircle.RandomPoint

function TCircle.RandomPoint: TPoint;

Returns a completely random point in the circle.


TCircle.RandomPointCenter

function TCircle.RandomPointCenter: TPoint;

Returns a random point in the circle which is weighted torwards the circle’s center.


TCircle.Circumference

function TCircle.Circumference: Double;

Returns the distance around the outside of a circle.


TCircle.Center

function TCircle.Center: TPoint;

Returns the center point of the circle.


TCircle.Circularity

function TCircle.Circularity(TPA: TPointArray): Double;

TCircle.Area

function TCircle.Area: Double;

Returns the area the circle covers.


TCircle.Area

function TCircle.Area: Double;

Returns the area the circle covers.


TCircle.Area

function TCircle.Area: Double;

Returns the area the circle covers.


TCircle.Extract

function TCircle.Extract(Points: TPointArray): TPointArray;

Returns the points that are in the circle.


TCircle.Exclude

function TCircle.Exclude(Points: TPointArray): TPointArray;

Returns the points that are not inside the circle.


in

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