
com.cube.geojson.Circle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of GeoGson Show documentation
Show all versions of GeoGson Show documentation
Simple dynamic GeoJson parsing utility for Java, with support for Elasticsearch
The newest version!
package com.cube.geojson;
public class Circle extends Point
{
private double radius;
public Circle()
{
}
public Circle(LngLatAlt coordinates, double radius)
{
super(coordinates);
this.radius = radius;
}
public Circle(double longitude, double latitude, double radius)
{
super(longitude, latitude);
this.radius = radius;
}
public Circle(double longitude, double latitude, double altitude, double radius)
{
super(longitude, latitude, altitude);
this.radius = radius;
}
public double getRadius() {
return radius;
}
public void setRadius(double radius) {
this.radius = radius;
}
@Override public String toString()
{
return "[com.cube.geojson.Circle type: " + type + " coordinates: " + coordinates + " radius: " + radius + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy