FMX.Types3D.TBoundingBox.IsEmpty

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsEmpty(const Epsilon: Single = TEpsilon.Vector): Boolean;

C++

bool __fastcall IsEmpty(const float Epsilon = 1.000000E-04f);

Properties

Type Visibility Source Unit Parent
function public
FMX.Types3D.pas
FMX.Types3D.hpp
FMX.Types3D TBoundingBox

Description

Returns True if the TBoundingBox is empty.

The IsEmpty method considers that the TBoundingBox is empty if Right is equal to Left or Top is equal to Bottom or Far is equal to Near.

Epsilon sets the maximum difference between two values to consider they are the same.

See Also