BoundingBox

BoundingBox class

軸整列バウンディングボックス

プロパティ

名前説明
NULLnull バウンディングボックス
INFINITE無限のバウンディングボックス

メソッド

constructor

名前説明
constructor()

Result:


constructor_overload

名前説明
constructor_overload(minimum, maximum)指定された minimum と maximum のコーナーで有限バウンディングボックスを初期化します

Parameters:

名前説明
minimumVector3minimum コーナー
maximumVector3maximum コーナー

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