| Package | Description |
|---|---|
| net.maritimecloud.util.geometry |
Contains geometry based utility classes.
|
| Modifier and Type | Field and Description |
|---|---|
static Rectangle |
Rectangle.ALL
A bounding box encompassing all coordinates.
|
| Modifier and Type | Field and Description |
|---|---|
static MessageSerializer<Rectangle> |
Rectangle.SERIALIZER |
| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
Rectangle.create(Position topLeft,
Position bottomRight) |
static Rectangle |
Rectangle.fromJSON(CharSequence string)
Creates a message of this type from a JSON throwing a runtime exception if the format of the message does not
match.
|
Rectangle |
Rectangle.getBoundingBox()
Returns a bounding box of the area.
|
Rectangle |
Polygon.getBoundingBox()
Returns a bounding box of the area.
|
Rectangle |
Ellipse.getBoundingBox()
Returns a bounding box of the area.
|
Rectangle |
Circle.getBoundingBox()
Returns a bounding box of the area.
|
abstract Rectangle |
Area.getBoundingBox()
Returns a bounding box of the area.
|
Rectangle |
Rectangle.immutable()
Returns an immutable copy of this message.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Rectangle.intersects(Rectangle other) |
boolean |
Circle.intersects(Rectangle other) |
Copyright © 2012–2015 Danish Maritime Authority. All rights reserved.