BimCT SDK / WebGL2 Viewer
BimCT.io
Playground
Converter API
Live Demo
Preparing search index...
index
BoundingBox2D
Class BoundingBox2D
Index
Constructors
constructor
Properties
top
Left
bottom
Right
Accessors
top
Left
Point
bottom
Right
Point
x1
x2
y1
y2
width
height
Methods
contains
intersects
diagonal
Length
total
Pixels
intersection
Constructors
constructor
new
BoundingBox2D
(
topLeft
:
Point2D
,
bottomRight
:
Point2D
)
:
BoundingBox2D
Parameters
topLeft
:
Point2D
bottomRight
:
Point2D
Returns
BoundingBox2D
Properties
top
Left
topLeft
:
Point2D
bottom
Right
bottomRight
:
Point2D
Accessors
top
Left
Point
get
topLeftPoint
()
:
Point2D
Returns
Point2D
set
topLeftPoint
(
point
:
Point2D
)
:
void
Parameters
point
:
Point2D
Returns
void
bottom
Right
Point
get
bottomRightPoint
()
:
Point2D
Returns
Point2D
set
bottomRightPoint
(
point
:
Point2D
)
:
void
Parameters
point
:
Point2D
Returns
void
x1
get
x1
()
:
number
Returns
number
x2
get
x2
()
:
number
Returns
number
y1
get
y1
()
:
number
Returns
number
y2
get
y2
()
:
number
Returns
number
width
get
width
()
:
number
Returns
number
height
get
height
()
:
number
Returns
number
Methods
contains
contains
(
point
:
Point2D
)
:
boolean
Parameters
point
:
Point2D
Returns
boolean
intersects
intersects
(
other
:
BoundingBox2D
)
:
boolean
Parameters
other
:
BoundingBox2D
Returns
boolean
diagonal
Length
diagonalLength
()
:
number
Returns
number
total
Pixels
totalPixels
()
:
number
Returns
number
intersection
intersection
(
other
:
BoundingBox2D
)
:
BoundingBox2D
Parameters
other
:
BoundingBox2D
Returns
BoundingBox2D
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
top
Left
bottom
Right
Accessors
top
Left
Point
bottom
Right
Point
x1
x2
y1
y2
width
height
Methods
contains
intersects
diagonal
Length
total
Pixels
intersection
BimCT.io
Playground
Converter API
Live Demo
BimCT SDK / WebGL2 Viewer
Loading...