System.Types.PtInCircle
Delphi
function PtInCircle(const Point, Center: TPoint; Radius: Integer): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall PtInCircle _DEPRECATED_ATTRIBUTE1("use TPoint.PointInCircle instead") (const TPoint &Point, const TPoint &Center, int Radius)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Types.pas System.Types.hpp |
System.Types | System.Types |
Description
Warning: PtInCircle is deprecated. Please use TPoint.PointInCircle.
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.