Skip to main content

Class: BoundingBox

Hierarchy

Constructors

constructor

new BoundingBox(wrapped?)

Parameters

NameType
wrapped?Bnd_Box

Overrides

WrappingObj.constructor

Defined in

geom.ts:572

Accessors

bounds

get bounds(): [SimplePoint, SimplePoint]

Returns

[SimplePoint, SimplePoint]

Defined in

geom.ts:586


center

get center(): SimplePoint

Returns

SimplePoint

Defined in

geom.ts:602


depth

get depth(): number

Returns

number

Defined in

geom.ts:621


height

get height(): number

Returns

number

Defined in

geom.ts:616


repr

get repr(): string

Returns

string

Defined in

geom.ts:581


width

get width(): number

Returns

number

Defined in

geom.ts:611


wrapped

get wrapped(): Type

Returns

Type

Inherited from

WrappingObj.wrapped

Defined in

register.ts:39

set wrapped(newWrapped): void

Parameters

NameType
newWrappedType

Returns

void

Inherited from

WrappingObj.wrapped

Defined in

register.ts:44

Methods

add

add(other): void

Parameters

NameType
otherBoundingBox

Returns

void

Defined in

geom.ts:626


delete

delete(): void

Returns

void

Inherited from

WrappingObj.delete

Defined in

register.ts:54


isOut

isOut(other): boolean

Parameters

NameType
otherBoundingBox

Returns

boolean

Defined in

geom.ts:630