Show: Delphi C++
Display Preferences

System.Types.PtInCircle

From XE2 API Documentation
Jump to: navigation, search

Delphi

function PtInCircle(const Point, Center: TPoint; Radius: Integer): Boolean;

C++

extern PACKAGE bool __fastcall PtInCircle(const TPoint &Point, const TPoint &Center, int Radius);

Properties

Type Visibility Source Unit Parent
function public
System.Types.pas
System.Types.hpp
System.Types System.Types

Description

Indicates whether a specified point lies inside a specified circle.

PtInCircle indicates whether Point lies inside the circle centered in Center and with the radius of value Radius. PtInCircle returns True if the point lies inside or on the circle, and False otherwise.

PtInCircle also returns False if the value of Radius is null or negative.

See Also

Personal tools
Previous Versions
Translations