FMX.InertialMovement.TAniCalculations.IsSmall
Delphi
function IsSmall(const P: TPointD;
const Epsilon: Double): Boolean; overload;
function IsSmall(const P: TPointD): Boolean; overload;
C++
bool __fastcall IsSmall(const TPointD &P, const double Epsilon)/* overload */;
bool __fastcall IsSmall(const TPointD &P)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | FMX.InertialMovement.pas FMX.InertialMovement.hpp |
FMX.InertialMovement | TAniCalculations |
説明
P で指定されるベクタの長さが、Epsilon より小さいかどうかを取得します。
パラメータを 1 つ取る IsSmall のバージョンは、Epsilon = 1E-3
を許容します(この値は、FMX.Consts.TEpsilon.Position
定数で定義されています)。