public interface GeoShape extends java.awt.Shape, Locatable
Modifier and Type | Method and Description |
---|---|
GeoCoord |
getCenter()
Get the center coordinate of this GeoShape
|
DataRecord |
getData()
Gets the data record associated with this GeoShape
|
GeoBounds |
getGeoBounds()
Get the geographic bounds for this shape
|
double |
getRadius()
Get the radius of this GeoShape.
|
RenderStyle |
getRenderStyle()
Get the rendering style for this GeoShape.
|
void |
project(Projection proj)
Projects the geographic coordinates into the given projection
|
void |
setData(DataRecord rec)
Sets the data record of this Geo shape.
|
void |
setRenderStyle(RenderStyle style)
Set the rendering style for this GeoShape.
|
GeoCoord getCenter()
DataRecord getData()
GeoBounds getGeoBounds()
double getRadius()
RenderStyle getRenderStyle()
void project(Projection proj)
proj
- the Projection for the conversionvoid setData(DataRecord rec)
rec
- the data record associated with this geoShapevoid setRenderStyle(RenderStyle style)
style
- The rendering style