BoundingBox
Overview
BoundingBox is a class in Aspose.3D FOSS for TypeScript.
This class declares 11 methods for BoundingBox objects in TypeScript programs.
Available methods include: constructor, contains, infinite, merge, null, overlapsWith, scale, toString.
Public members are accessible to any TypeScript application after installing the Aspose.3D FOSS for TypeScript package.
Properties: center, extent, maximum, minimum, size, x, and 2 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
x | : number | Read | Gets the x. |
y | : number | Read | Gets the y. |
z | : number | Read | Gets the z. |
x | : number | Read | Gets the x. |
y | : number | Read | Gets the y. |
z | : number | Read | Gets the z. |
x | : number | Read | Gets the x. |
y | : number | Read | Gets the y. |
z | : number | Read | Gets the z. |
x | : number | Read | Gets the x. |
y | : number | Read | Gets the y. |
z | : number | Read | Gets the z. |
minimum | { x: number; y: number; z: number } | Read | Gets the minimum. |
x | : number | Read | Gets the x. |
y | : number | Read | Gets the y. |
z | : number | Read | Gets the z. |
maximum | { x: number; y: number; z: number } | Read | Gets the maximum. |
x | : number | Read | Gets the x. |
y | : number | Read | Gets the y. |
z | : number | Read | Gets the z. |
center | { x: number; y: number; z: number } | Read | Gets the center. |
x | : number | Read | Gets the x. |
y | : number | Read | Gets the y. |
z | : number | Read | Gets the z. |
size | { x: number; y: number; z: number } | Read | Gets the size. |
x | : number | Read | Gets the x. |
y | : number | Read | Gets the y. |
z | : number | Read | Gets the z. |
extent | BoundingBoxExtent | Read | Gets the extent. |
Methods
| Signature | Description |
|---|---|
constructor() | Calls constructor on this BoundingBox instance. |
constructor(minimum: { x: number; y: number; z: number }, maximum: { x: number; y: number; z: number }) | Calls constructor(minimum, maximum) on this BoundingBox instance. |
constructor(minX: number, minY: number, minZ: number, maxX: number, maxY: number, maxZ: number) | Calls constructor(minX, minY, minZ, maxX, maxY, maxZ) on this BoundingBox instance. |
constructor() | |
null() → BoundingBox | Calls null on this BoundingBox instance. |
infinite() → BoundingBox | Calls infinite on this BoundingBox instance. |
merge() | Calls merge on this BoundingBox instance. |
contains(arg: any) → boolean | Calls contains(arg) on this BoundingBox instance. |
overlapsWith(box: BoundingBox) → boolean | Calls overlapsWith(box) on this BoundingBox instance. |
scale() → number | Calls scale on this BoundingBox instance. |
toString() → string | Calls toString on this BoundingBox instance. |