@groovy.transform.EqualsAndHashCode @groovy.transform.CompileStatic class Box extends Shape
Represents a box for use in Geo data models
| Type | Name and description |
|---|---|
Point |
lowerLeft |
Point |
upperRight |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.util.List<java.util.List<java.lang.Double>> |
asList()Converts the Polygon to a multi-dimensional list of coordinates. |
|
java.lang.String |
toString() |
|
static Box |
valueOf(java.util.List<java.util.List<java.lang.Double>> coords)Constructs a Box from the given coordinates |
Converts the Polygon to a multi-dimensional list of coordinates. Example: [ [100.0, 0.0], [101.0, 0.0]]
Constructs a Box from the given coordinates
coords - The coordinatesGroovy Documentation