Class Polygon

    • Constructor Detail

      • Polygon

        public Polygon()
        Instantiates a new polygon.
      • Polygon

        public Polygon​(BoundingBox bbox,
                       List<List<Position>> coordinates)
        Instantiates a new polygon.
        Parameters:
        bbox - the bbox
        coordinates - the coordinates
    • Method Detail

      • getCoordinates

        public List<List<Position>> getCoordinates()
        Get coordinates.
        Returns:
        coordinates coordinates
      • setCoordinates

        public void setCoordinates​(List<List<Position>> coordinates)
        Sets coordinates.
        Parameters:
        coordinates - the coordinates