Class BoundingBox
Package world.mappable.mapkit.geometry
java.lang.Object
↳ world.mappable.mapkit.geometry.BoundingBox
class BoundingBox implements Serializable
A rectangular box around the object.
Summary
Constructors
|
Signature and Description |
|
BoundingBox(@NonNull Point southWest, |
|
BoundingBox() |
Methods
|
Type and modifiers |
Method and Description |
|
getSouthWest() |
|
|
getNorthEast() |
|
|
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
Constuctors
BoundingBox
|
BoundingBox(@NonNull Point southWest, |
BoundingBox
|
BoundingBox() |
Use constructor with parameters in your code.
This one is for bindings only!
Methods
getSouthWest
|
@NonNull |
The coordinates of the southwest corner of the box.
getNorthEast
|
@NonNull |
The coordinates of the northeast corner of the box.
serialize
|
@Override |