Class: BoundingBox2d
Defined in: lib2d/BoundingBox2d.ts:9
Extends
WrappingObj
<Bnd_Box2d
>
Constructors
Constructor
new BoundingBox2d(wrapped?): BoundingBox2d;
Defined in: lib2d/BoundingBox2d.ts:10
Parameters
wrapped?
Bnd_Box2d
Returns
BoundingBox2d
Overrides
Accessors
bounds
Get Signature
get bounds(): [Point2D, Point2D];
Defined in: lib2d/BoundingBox2d.ts:24
Returns
center
Get Signature
get center(): Point2D;
Defined in: lib2d/BoundingBox2d.ts:38
Returns
height
Get Signature
get height(): number;
Defined in: lib2d/BoundingBox2d.ts:48
Returns
number
repr
Get Signature
get repr(): string;
Defined in: lib2d/BoundingBox2d.ts:19
Returns
string
width
Get Signature
get width(): number;
Defined in: lib2d/BoundingBox2d.ts:43
Returns
number
wrapped
Get Signature
get wrapped(): Type;
Defined in: register.ts:39
Returns
Type
Set Signature
set wrapped(newWrapped): void;
Defined in: register.ts:44
Parameters
newWrapped
Type
Returns
void
Inherited from
Methods
add()
add(other): void;
Defined in: lib2d/BoundingBox2d.ts:64
Parameters
other
BoundingBox2d
Returns
void
containsPoint()
containsPoint(other): boolean;
Defined in: lib2d/BoundingBox2d.ts:72
Parameters
other
Returns
boolean
delete()
delete(): void;
Defined in: register.ts:54
Returns
void
Inherited from
isOut()
isOut(other): boolean;
Defined in: lib2d/BoundingBox2d.ts:68
Parameters
other
BoundingBox2d
Returns
boolean
outsidePoint()
outsidePoint(paddingPercent): Point2D;
Defined in: lib2d/BoundingBox2d.ts:53
Parameters
paddingPercent
number
= 1