Package io.goobi.viewer.model.maps
Class Point
java.lang.Object
io.goobi.viewer.model.maps.Point
- All Implemented Interfaces:
IArea
- Author:
- florian
-
Constructor Summary
ConstructorDescriptionPoint
(double lng, double lat) First longitide in eastern direction, then latitude in northern direction -
Method Summary
-
Constructor Details
-
Point
public Point(double lng, double lat) First longitide in eastern direction, then latitude in northern direction- Parameters:
lng
-lat
-
-
-
Method Details
-
getVertices
public double[][] getVertices()Description copied from interface:IArea
An array containing all points (2 size double arrays) of the area.- Specified by:
getVertices
in interfaceIArea
- Returns:
- double[][]
-
getGeoJson
- Specified by:
getGeoJson
in interfaceIArea
-
getDiameter
public double getDiameter()- Specified by:
getDiameter
in interfaceIArea
- Returns:
- double
-
hashCode
public int hashCode() -
equals
-
getLng
public double getLng()- Returns:
- the lng
-
getLat
public double getLat()- Returns:
- the lat
-