FMX.InertialMovement.TPointD.Distance
Delphi
function Distance(const P2: TPointD): Double;
C++
double __fastcall Distance(const TPointD &P2);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | FMX.InertialMovement.pas FMX.InertialMovement.hpp |
FMX.InertialMovement | TPointD |
説明
現在の TPointD オブジェクトと、P2 パラメータで指定される点との間の距離を計算します。
Distance 関数は、現在の TPointD 点と、P2 パラメータで指定される点との間の、分節の距離を計算します。 これら 2 つの点の間のユークリッド距離を、論理的単位で計算します。