BoundingBox
コンテンツ
[
隠れる
]BoundingBox class
軸整列バウンディングボックス
プロパティ
| 名前 | 説明 |
|---|---|
| NULL | null バウンディングボックス |
| INFINITE | 無限のバウンディングボックス |
メソッド
constructor
| 名前 | 説明 |
|---|---|
| constructor() |
Result:
constructor_overload
| 名前 | 説明 |
|---|---|
| constructor_overload(minimum, maximum) | 指定された minimum と maximum のコーナーで有限バウンディングボックスを初期化します |
Parameters:
| 名前 | 型 | 説明 |
|---|---|---|
| minimum | Vector3 | minimum コーナー |
| maximum | Vector3 | maximum コーナー |
Result:
constructor_overload2
| 名前 | 説明 |
|---|---|
| constructor_overload2(minX, minY, minZ, maxX, maxY, maxZ) | 指定された minimum と maximum のコーナーで有限バウンディングボックスを初期化します |
Result:
getExtent
| 名前 | 説明 |
|---|---|
| getExtent() | バウンディングボックスの範囲を取得します。プロパティの値は BoundingBoxExtent 整数定数です。 |
Result:
getMinimum
| 名前 | 説明 |
|---|---|
| getMinimum() | バウンディングボックスの minimum コーナー |
Result:
getMaximum
| 名前 | 説明 |
|---|---|
| getMaximum() | バウンディングボックスの maximum コーナー |
Result:
getSize
| 名前 | 説明 |
|---|---|
| getSize() | バウンディングボックスのサイズ |
Result:
getCenter
| 名前 | 説明 |
|---|---|
| getCenter() | バウンディングボックスの中心。 |
Result:
fromGeometry
| 名前 | 説明 |
|---|---|
| fromGeometry(geometry) | 与えられたジオメトリからバウンディングボックスを構築します |
Parameters:
| 名前 | 型 | 説明 |
|---|---|---|
| geometr | ジオメトリ | null |
Result: BoundingBox
toString
| 名前 | 説明 |
|---|---|
| toString() | バウンディングボックスの文字列表現を取得します。 |
Result: 文字列
hashCode
| 名前 | 説明 |
|---|---|
| hashCode() | このインスタンスのハッシュコードを返します |
Result: 数
equals
| 名前 | 説明 |
|---|---|
| equals(obj) | 2つのオブジェクトが等しいかどうかを判定します |
Parameters:
| 名前 | 型 | 説明 |
|---|---|---|
| ob | オブジェクト | null |
Result: boolean