System.Sensors.TLocationRegion
Delphi
TLocationRegion = record
private
FID: String;
FCenter: TLocationCoord2D;
FRadius: TLocationDistance;
public
constructor Create(const ACenter: TLocationCoord2D; ARadius: TLocationDistance); overload;
constructor Create(const ACenter: TLocationCoord2D; ARadius: TLocationDistance;
const AID: String); overload;
property ID: String read FID;
property Center: TLocationCoord2D read FCenter;
property Radius: TLocationDistance read FRadius;
class function Empty: TLocationRegion; inline; static;
end;
C++
struct DECLSPEC_DRECORD TLocationRegion
{
private:
System::UnicodeString FID;
TLocationCoord2D FCenter;
double FRadius;
public:
__fastcall TLocationRegion(const TLocationCoord2D &ACenter, double ARadius)/* overload */;
__fastcall TLocationRegion(const TLocationCoord2D &ACenter, double ARadius, const System::UnicodeString AID)/* overload */;
__property System::UnicodeString ID = {read=FID};
__property TLocationCoord2D Center = {read=FCenter};
__property double Radius = {read=FRadius};
static TLocationRegion __fastcall Empty();
TLocationRegion() {}
};
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
record struct |
public | System.Sensors.pas System.Sensors.hpp |
System.Sensors | System.Sensors |
Beschreibung
Struktur, die eine geografische Region beschreibt.
Die Klasse TLocationRegion identifiziert anhand einer ID, eines Mittelpunkts und eines Radius eine Region eindeutig.