FMX.InertialMovement.TPointD.operator Addition

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

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;

プロパティ

種類 可視性 ソース ユニット
function public FMX.InertialMovement.pas FMX.InertialMovement TPointD


説明

2 つの TPointD 点の合計を返します。

operator Addition は、2 つのベクタの合計として取得された、ベクタの TPointD 頂点を返します。この 2 つのベクタは、座標システムのルートに基点を持ち、その他の頂点は Lhs 点と Rhs 点にそれぞれ持ちます。結果の X プロパティは、第1 Lhs TPointD 点の X 値と、第2 Rhs 点の X 値の合計です。結果の Y プロパティは、第1 Lhs TPointD 点の Y 値と、第2 Rhs 点の Y 値の合計です。

関連項目