FMX.InertialMovement.TAniCalculations.IsSmall

From RAD Studio API Documentation
Jump to: navigation, search

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 */;

Properties

Type Visibility Source Unit Parent
function protected
FMX.InertialMovement.pas
FMX.InertialMovement.hpp
FMX.InertialMovement TAniCalculations

Description

Retrieves whether the length of the vector specified by P is less than Epsilon.

The IsSmall version with one parameter accepts that Epsilon = 1E-3 (this value is defined in the FMX.Consts.TEpsilon.Position constant).