FMX.Types3D.TBoundingBox.Contains

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Contains(const APoint: TPoint3D): Boolean; overload;
function Contains(const ABox: TBoundingBox): Boolean; overload;

C++

bool __fastcall Contains(const System::Math::Vectors::TPoint3D &APoint)/* overload */;
bool __fastcall Contains(const TBoundingBox &ABox)/* overload */;

Properties

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

Description

Indicates whether the input argument is inside the TBoundingBox or not.

Two overloaded methods are available for two different argument types. The first overloaded method returns True if the APoint is inside the box. The second overloaded method returns True if the box completely encloses the ABox.

See Also