| Package | Description |
|---|---|
| net.maritimecloud.util.geometry |
Contains geometry based utility classes.
|
| Modifier and Type | Field and Description |
|---|---|
static MessageSerializer<Circle> |
Circle.SERIALIZER |
| Modifier and Type | Method and Description |
|---|---|
static Circle |
Circle.create(double latitude,
double longitude,
double radius) |
static Circle |
Circle.create(Position center,
double radius)
Creates a new circle with the specified center and radius.
|
static Circle |
Circle.fromJSON(CharSequence string)
Creates a message of this type from a JSON.
|
Circle |
Circle.immutable()
Returns an immutable copy of this message.
|
static Circle |
Circle.random()
Returns a random valid circle.
|
static Circle |
Circle.random(Random rnd)
Returns a random valid circle.
|
Circle |
Circle.withCenter(Position center)
Returns a new circle with the same radius as this circle but with the new position as the center
|
Circle |
Circle.withRadius(double radius)
Returns a new circle with the same center as this circle but with the new radius.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Circle.contains(Circle c) |
boolean |
Circle.equals(Circle other) |
boolean |
Rectangle.intersects(Circle other) |
boolean |
Circle.intersects(Circle other) |
Copyright © 2012–2015 Danish Maritime Authority. All rights reserved.