V8 Javascript API

RS.Math.Bbox3 Class Reference

[Math]

Description

A Bbox3.

Constructor

 Bbox3( Object bbox)
More...

Functions

RS.​Math.​Bbox3 clone()
returns a copy of this bounding box. More...
 set( Bbox3 rhs)
Sets this bounding box from an object. More...
String toString()
Returns a string describing this Object. More...

Constructor

RS.​Math.​Bbox3( Object bbox)

Parameters

bbox
initial value

Functions

RS.​Math.​Bbox3 RS.​Math.​Bbox3.clone()

returns a copy of this bounding box.

RS.​Math.​Bbox3.set( Bbox3 rhs)

Sets this bounding box from an object. The object may be of the following types: Bbox3, and Array with 6 members or an Object. In the case of an object it must have the members min_x, min_y, min_z, max_x, max_y, max_z.

Parameters

rhs
The object to set from. May be one of the following:
  • Bbox3
  • Array
  • Object
String RS.​Math.​Bbox3.toString()

Returns a string describing this Object.

Returns

A String describing this Object.