Interface GridElement

    • Method Detail

      • getBounds

        ReferencedEnvelope getBounds()
        Gets the bounds of this grid element.
        Returns:
        the bounding rectangle
      • getVertices

        Coordinate[] getVertices()
        Gets the vertices of this grid element.
        Returns:
        the vertices
      • toGeometry

        Geometry toGeometry()
        Creates a new Geometry from this grid element.
        Returns:
        a new Geometry
      • toDenseGeometry

        Geometry toDenseGeometry​(double maxSpacing)
        Creates a new, densified Geometry from this grid element.
        Parameters:
        maxSpacing - the maximum distance between adjacent vertices
        Returns:
        a new Geometry
        Throws:
        IllegalArgumentException - if maxSpacing is <= 0