public class HexagonDrawable extends JtsDrawable
coordFactory, geometry, geomFactory, style| Constructor and Description |
|---|
HexagonDrawable(org.oscim.core.GeoPoint center,
double radiusKm) |
HexagonDrawable(org.oscim.core.GeoPoint center,
double radiusKm,
double rotationRad,
Style style) |
getGeometry, getStyle, loadPoints, setStylepublic HexagonDrawable(org.oscim.core.GeoPoint center,
double radiusKm)
center - GeoPoint - center of the hexagonradiusKm - Radius of the hexagon in kilometers. The size of the
hexagon may be distorted due to the Mercator projections
properties.public HexagonDrawable(org.oscim.core.GeoPoint center,
double radiusKm,
double rotationRad,
Style style)
center - GeoPoint - center of the hexagonradiusKm - Radius of the hexagon in kilometers. The size of the
hexagon may be distorted due to the Mercator projections
properties.rotationRad - rotation of the hexagon in radiansstyle -