BoundingBox2D
コンテンツ
[
隠れる
]Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.threed.Struct, java.io.Serializable
public final class BoundingBox2D implements Struct<BoundingBox2D>, Serializable
軸に平行なバウンディングボックス(Vector2 用)
コンストラクタ
| コンストラクタ | 説明 |
|---|---|
| BoundingBox2D(Vector2 minimum, Vector2 maximum) | 指定された最小コーナーと最大コーナーで有限バウンディングボックスを初期化する |
| BoundingBox2D() |
フィールド
| フィールド | 説明 |
|---|---|
| INFINITE | 無限バウンディングボックス |
| NULL | ヌルバウンディングボックス |
メソッド
| メソッド | 説明 |
|---|---|
| clone() | |
| copyFrom(BoundingBox2D src) | |
| equals(Object obj) | |
| getClass() | |
| getExtent() | バウンディングボックスの範囲を取得します。 |
| getMaximum() | バウンディングボックスの最大コーナー |
| getMinimum() | バウンディングボックスの最小コーナー |
| hashCode() | |
| merge(BoundingBox2D bb) | 新しいボックスを現在のバウンディングボックスにマージします。 |
| merge(Vector2 pt) | 新しいボックスを現在のバウンディングボックスにマージします。 |
| notify() | |
| notifyAll() | |
| toString() | バウンディングボックスの文字列表現を取得します。 |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
BoundingBox2D(Vector2 minimum, Vector2 maximum)
public BoundingBox2D(Vector2 minimum, Vector2 maximum)
指定された最小コーナーと最大コーナーで有限バウンディングボックスを初期化する
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| minimum | Vector2 | 最小コーナー |
| maximum | Vector2 | 最大コーナー |
BoundingBox2D()
public BoundingBox2D()
INFINITE
public static final BoundingBox2D INFINITE
無限バウンディングボックス
NULL
public static final BoundingBox2D NULL
ヌルバウンディングボックス
clone()
public BoundingBox2D clone()
現在のインスタンスをクローンする
Returns: BoundingBox2D
copyFrom(BoundingBox2D src)
public void copyFrom(BoundingBox2D src)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| src | BoundingBox2D |
equals(Object obj)
public boolean equals(Object obj)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| obj | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getExtent()
public BoundingBoxExtent getExtent()
バウンディングボックスの範囲を取得します。
Returns: BoundingBoxExtent - the extent of the bounding box.
getMaximum()
public Vector2 getMaximum()
バウンディングボックスの最大コーナー
Returns: Vector2 - The maximum corner of the bounding box
getMinimum()
public Vector2 getMinimum()
バウンディングボックスの最小コーナー
Returns: Vector2 - The minimum corner of the bounding box
hashCode()
public int hashCode()
Returns: int
merge(BoundingBox2D bb)
public void merge(BoundingBox2D bb)
新しいボックスを現在のバウンディングボックスにマージします。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| bb | BoundingBox2D | マージするバウンディングボックス |
merge(Vector2 pt)
public void merge(Vector2 pt)
新しいボックスを現在のバウンディングボックスにマージします。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| pt | Vector2 | マージするポイント |
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
バウンディングボックスの文字列表現を取得します。
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| arg0 | long | |
| arg1 | int |