Class Point

java.lang.Object
io.goobi.viewer.model.maps.Point
All Implemented Interfaces:
IArea

public class Point extends Object implements IArea
Author:
florian
  • 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 interface IArea
      Returns:
      double[][]
    • getGeoJson

      public String getGeoJson()
      Specified by:
      getGeoJson in interface IArea
    • getDiameter

      public double getDiameter()
      Specified by:
      getDiameter in interface IArea
      Returns:
      double
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getLng

      public double getLng()
      Returns:
      the lng
    • getLat

      public double getLat()
      Returns:
      the lat