FMX.Types3D.TBoundingBox.Create
Delphi
constructor Create(const AnOrigin: TPoint3D); overload;
constructor Create(const AnOrigin: TPoint3D; const Width, Height, Depth: Single); overload;
constructor Create(const Left, Top, Near, Right, Bottom, Far: Single); overload;
constructor Create(const APoint1, APoint2: TPoint3D; NormalizeBox: Boolean = False); overload;
constructor Create(const ABox: TBoundingBox; NormalizeBox: Boolean = False); overload;
constructor Create(const Points: TArray<TPoint3D>); overload;
constructor Create(const Points: PPoint3D; const PointCount: Integer); overload;
C++
__fastcall TBoundingBox(const System::Math::Vectors::TPoint3D &AnOrigin)/* overload */;
__fastcall TBoundingBox(const System::Math::Vectors::TPoint3D &AnOrigin, const float Width, const float Height, const float Depth)/* overload */;
__fastcall TBoundingBox(const float Left, const float Top, const float Near, const float Right, const float Bottom, const float Far)/* overload */;
__fastcall TBoundingBox(const System::Math::Vectors::TPoint3D &APoint1, const System::Math::Vectors::TPoint3D &APoint2, bool NormalizeBox)/* overload */;
__fastcall TBoundingBox(const TBoundingBox &ABox, bool NormalizeBox)/* overload */;
__fastcall TBoundingBox(const System::DynamicArray<System::Math::Vectors::TPoint3D> Points)/* overload */;
__fastcall TBoundingBox(const System::Math::Vectors::PPoint3D Points, const int PointCount)/* overload */;
TBoundingBox() {}
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | TBoundingBox |
説明
TBoundingBox のインスタンスを作成します。
次のように、境界ボックスの作成に使用できるいくつかの異なるシグネチャが用意されています。
パラメータ | 説明 |
---|---|
|
TopLeftNear の値を指定の |
|
TopLeftNear 隅と BottomRightFar 隅を定義する座標から TBoundingBox インスタンスを作成します。 |
|
TopLeftNear 隅と BottomRightFar 隅を表す 2 つの点から TBoundingBox インスタンスを作成し、状況に応じて、その新しい TBoundingBox インスタンスを正規化します。 |
|
既存の境界ボックスから TBoundingBox インスタンスを作成し、状況に応じて、その新しい TBoundingBox インスタンスを正規化します。 |
指定されたパラメータを使用して境界ボックスの 2 つの隅を定義したあと、2 つの点から TBoundingBox インスタンスを作成するコンストラクタを呼び出します。 |