Package io.goobi.viewer.model.maps
Class Polygon
java.lang.Object
io.goobi.viewer.model.maps.Polygon
- All Implemented Interfaces:
IArea
- Author:
- florian
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
double
double[][]
An array containing all points (2 size double arrays) of the area.int
hashCode()
-
Constructor Details
-
Polygon
-
Polygon
public Polygon(double[][] points)
-
-
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
-