FMX.Types3D.TBoundingBox.Intersect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Intersect(const DestBox: TBoundingBox): TBoundingBox;

C++

TBoundingBox __fastcall Intersect(const TBoundingBox &DestBox);

Properties

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

Description

Intersects the current TBoundingBox with the DestBox.

The Intersect method returns a TBoundingBox whose MinCorner is the maximum between the MinCorner of the current TBoundingBox and the MinCorner of the Destbox calculated for X, Y and Z separately. The MaxCorner of the result is the minimum between the MaxCorner of the current TBoundingBox and the MaxCorner of the Destbox calculated for X, Y and Z separately.

See Also