API:FMX.InertialMovement.TPointD

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

  TPointD = record
    X: Double;
    Y: Double;
  public
    constructor Create(const P: TPointD); overload;
    constructor Create(const P: TPointF); overload;
    constructor Create(const P: TPoint); overload;
    constructor Create(const X, Y: Double); overload;
    procedure SetLocation(const P: TPointD);
    class operator Equal(const Lhs, Rhs: TPointD): Boolean;
    class operator NotEqual(const Lhs, Rhs: TPointD): Boolean; overload;
    class operator Add(const Lhs, Rhs: TPointD): TPointD;
    class operator Subtract(const Lhs, Rhs: TPointD): TPointD;
    class operator Implicit(const APointF: TPointF): TPointD;
    function Distance(const P2: TPointD): Double;
    function Abs: Double;
    procedure Offset(const DX, DY: Double);
  end;

C++

struct DECLSPEC_DRECORD TPointD
{
public:
    double X;
    double Y;
    __fastcall TPointD(const TPointD &P)/* overload */;
    __fastcall TPointD(const System::Types::TPointF &P)/* overload */;
    __fastcall TPointD(const System::Types::TPoint &P)/* overload */;
    __fastcall TPointD(const double X, const double Y)/* overload */;
    void __fastcall SetLocation(const TPointD &P);
    static bool __fastcall _op_Equality(const TPointD &Lhs, const TPointD &Rhs);
    bool __fastcall operator==(const TPointD& __rhs) { return TPointD::_op_Equality(*this, __rhs); };
    static bool __fastcall _op_Inequality(const TPointD &Lhs, const TPointD &Rhs);
    bool __fastcall operator!=(const TPointD& __rhs) { return TPointD::_op_Inequality(*this, __rhs); };
    static TPointD __fastcall _op_Addition(const TPointD &Lhs, const TPointD &Rhs);
    TPointD __fastcall operator+(const TPointD& __rhs) { return TPointD::_op_Addition(*this, __rhs); };
    static TPointD __fastcall _op_Subtraction(const TPointD &Lhs, const TPointD &Rhs);
    TPointD __fastcall operator-(const TPointD& __rhs) { return TPointD::_op_Subtraction(*this, __rhs); };
    static TPointD __fastcall _op_Implicit(const System::Types::TPointF &APointF);
    TPointD& __fastcall operator=(const System::Types::TPointF &APointF) { *this = TPointD::_op_Implicit(APointF); return *this; };
    double __fastcall Distance(const TPointD &P2);
    double __fastcall Abs();
    void __fastcall Offset(const double DX, const double DY);
    TPointD() {}
};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
record
struct
public
FMX.InertialMovement.pas
FMX.InertialMovement.hpp
FMX.InertialMovement FMX.InertialMovement

Beschreibung

Embarcadero Technologies verfügt zurzeit über keine zusätzlichen Informationen. Bitte unterstützen Sie uns bei der Dokumentation dieses Themas, indem Sie Ihre Kommentare auf der Diskussionsseite eingeben.