Class RestPolygon

java.lang.Object
de.dlr.proseo.geotools.rest.model.RestPolygon
All Implemented Interfaces:
Serializable

public class RestPolygon extends Object implements Serializable
See Also:
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      See Also:
    • points

      protected List<RestPoint> points
      The corner points (latitude/longitude pairs) defining the polygon
  • Constructor Details

    • RestPolygon

      public RestPolygon()
      Creates a new RestPolygon.
    • RestPolygon

      public RestPolygon(List<RestPoint> points)
      Creates a new RestPolygon.
  • Method Details

    • getPoints

      @NotNull public List<RestPoint> getPoints()
      Returns the points.
      Returns:
      points
    • setPoints

      public void setPoints(List<RestPoint> points)
      Set the points.
      Parameters:
      points - the new points
    • hashCode

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

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object