Box
- class Communicator.Box()
Represents an axis-aligned bounding box. A box is represented by a minimum and maximum point which describe the extents of the box.
Constructors
Methods
Constructors
Properties
Methods
addBox
addPoint
center
copy
equals
extents
forJson
- Box.forJson()
- Deprecated
Use
toJson
instead.- Return type
Object
getCorners
isDegenerate
- Box.isDegenerate()
Returns whether or not the box is degenerate.
- Return type
boolean
- Returns
whether or not the box is degenerate.
toJson
- Box.toJson()
Creates an object ready for JSON serialization.
- Return type
Object
- Returns
The prepared object.