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:

パラメーター説明
minimumVector2最小コーナー
maximumVector2最大コーナー

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:

パラメーター説明
srcBoundingBox2D

equals(Object obj)

public boolean equals(Object obj)

Parameters:

パラメーター説明
objjava.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:

パラメーター説明
bbBoundingBox2Dマージするバウンディングボックス

merge(Vector2 pt)

public void merge(Vector2 pt)

新しいボックスを現在のバウンディングボックスにマージします。

Parameters:

パラメーター説明
ptVector2マージするポイント

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:

パラメーター説明
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

パラメーター説明
arg0long
arg1int