BoundingBox

Methods

BoundingBox Это класс в Aspose.3d для Java.

BoundingBox хранит минимальные и максимальные углубные точки axis‒илигированного ящика с использованием вектор3 объектов.

Methods

NameTypeAccessDescription
extentBoundingBoxExtentReadGets the extent.
minimumVector3ReadGets the minimum.
maximumVector3ReadGets the maximum.
sizeVector3ReadGets the size.
centerVector3ReadGets the center.
NULLBoundingBoxReadGets the null.
INFINITEBoundingBoxReadGets the infinite.

Methods

SignatureDescription
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() → BoundingBoxExtentReturns the extent.
getMinimum() → Vector3Returns the minimum.
getMaximum() → Vector3Returns the maximum.
getSize() → Vector3Returns the size.
getCenter() → Vector3Returns the center.
scale() → doubleCalls 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) → booleanCalls overlapsWith(box) on this BoundingBox instance.
contains(p: Vector3) → booleanCalls contains(p) on this BoundingBox instance.
contains(bbox: BoundingBox) → booleanCalls contains(bbox) on this BoundingBox instance.
toString() → StringCalls toString on this BoundingBox instance.
hashCode() → intCalls hashCode on this BoundingBox instance.
equals(obj: Object) → booleanCalls equals(obj) on this BoundingBox instance.
 Русский