BoundingBox
[Điều kiện] 0
BoundingBox là một lớp trong Aspose.3d cho Java.
BoundingBox lưu trữ các điểm góc tối thiểu và tối đa của một hộp axis‒s bằng cách sử dụng Vector3 đối tượng.
[Điều kiện] 0
| Name | Type | Access | Description |
|---|---|---|---|
extent | BoundingBoxExtent | Read | Gets the extent. |
minimum | Vector3 | Read | Gets the minimum. |
maximum | Vector3 | Read | Gets the maximum. |
size | Vector3 | Read | Gets the size. |
center | Vector3 | Read | Gets the center. |
NULL | BoundingBox | Read | Gets the null. |
INFINITE | BoundingBox | Read | Gets the infinite. |
[Điều kiện] 0
| Signature | Description |
|---|---|
BoundingBox() | Initializes a bounding box with the specified minimum and maximum vectors |
BoundingBox(minimum: Vector3, maximum: Vector3) | Calls BoundingBox(minimum, maximum) on this BoundingBox instance. |
BoundingBox(minimum: FVector3, maximum: FVector3) | Calls BoundingBox(minimum, maximum) on this BoundingBox instance. |
BoundingBox(minX: double, minY: double, minZ: double, maxX: double, maxY: double, maxZ: double) | Calls BoundingBox(minX, minY, minZ, maxX, maxY, maxZ) on this BoundingBox instance. |
getExtent() → BoundingBoxExtent | Returns the extent. |
getMinimum() → Vector3 | Returns the minimum. |
getMaximum() → Vector3 | Returns the maximum. |
getSize() → Vector3 | Returns the size. |
getCenter() → Vector3 | Returns the center. |
scale() → double | Calls scale on this BoundingBox instance. |
merge(pt: Vector4) | Calls merge(pt) on this BoundingBox instance. |
merge(pt: Vector3) | Calls merge(pt) on this BoundingBox instance. |
merge(pt: FVector3) | Calls merge(pt) on this BoundingBox instance. |
merge(x: double, y: double, z: double) | Calls merge(x, y, z) on this BoundingBox instance. |
merge(bb: BoundingBox) | Calls merge(bb) on this BoundingBox instance. |
overlapsWith(box: BoundingBox) → boolean | Calls overlapsWith(box) on this BoundingBox instance. |
contains(p: Vector3) → boolean | Calls contains(p) on this BoundingBox instance. |
contains(bbox: BoundingBox) → boolean | Calls contains(bbox) on this BoundingBox instance. |
toString() → String | Calls toString on this BoundingBox instance. |
hashCode() → int | Calls hashCode on this BoundingBox instance. |
equals(obj: Object) → boolean | Calls equals(obj) on this BoundingBox instance. |