Properties
_ocBbox
_ocBbox: any = null
bounds
bounds: number[] = null
Methods
_containsBbox
- _containsBbox(other: Bbox): boolean
-
Returns boolean
area
- area(): number
-
Returns number
contains
- contains(other: Shape): boolean
-
Returns boolean
corner
- corner(where: string): Point
-
depth
- depth(): number
-
Returns number
enlarged
- enlarged(amount: number): Bbox
-
height
- height(): number
-
Returns number
is2D
- is2D(): boolean
-
Returns boolean
isPoint
- isPoint(): boolean
-
Returns boolean
maxX
- maxX(): number
-
Returns number
maxY
- maxY(): number
-
Returns number
maxZ
- maxZ(): number
-
Returns number
minX
- minX(): number
-
Returns number
minY
- minY(): number
-
Returns number
minZ
- minZ(): number
-
Returns number
setBounds
- setBounds(): number[]
-
Returns number[]
toData
- toData(): number[]
-
Returns number[]
toString
- toString(): string
-
Returns string
updateFromOcBbox
- updateFromOcBbox(): void
-
Returns void
width
- width(): number
-
Returns number
Create 2D or 3D Bbox from two Point spanning up the box