Package org.postgis

Class LinearRing

  • All Implemented Interfaces:
    Serializable

    public class LinearRing
    extends PointComposedGeom
    This represents the LinearRing GIS datatype. This type is used to construct the polygon types, but is not stored or retrieved directly from the database.
    See Also:
    Serialized Form
    • Constructor Detail

      • LinearRing

        public LinearRing​(Point[] points)
      • LinearRing

        public LinearRing​(String value)
                   throws SQLException
        This is called to construct a LinearRing from the PostGIS string representation of a ring.
        Parameters:
        value - Definition of this ring in the PostGIS string format.
        Throws:
        SQLException - when a SQLException occurs
      • LinearRing

        protected LinearRing​(String value,
                             boolean haveM)
                      throws SQLException
        Parameters:
        value - The text representation of this LinearRing
        haveM - Hint whether we have a measure. This is given to us by other "parent" Polygon, and is passed further to our parent.
        Throws:
        SQLException - when a SQLException occurs