Class ST_IsRing

  • All Implemented Interfaces:
    org.h2gis.api.Function, org.h2gis.api.ScalarFunction

    public class ST_IsRing
    extends org.h2gis.api.DeterministicScalarFunction
    Return TRUE if the provided geometry is a closed and simple LINESTRING or MULTILINESTRING; NULL otherwise.
    Author:
    Nicolas Fortin
    • Constructor Detail

      • ST_IsRing

        public ST_IsRing()
        Default constructor
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • isRing

        public static Boolean isRing​(org.locationtech.jts.geom.Geometry geometry)
        Parameters:
        geometry - Geometry instance
        Returns:
        True if the provided geometry is a ring; null otherwise