Class ST_IsRectangle

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

    public class ST_IsRectangle
    extends org.h2gis.api.DeterministicScalarFunction
    ST_IsRectangle returns true if the given geometry is a rectangle.
    Author:
    Adam Gouge
    • Constructor Detail

      • ST_IsRectangle

        public ST_IsRectangle()
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • isRectangle

        public static Boolean isRectangle​(org.locationtech.jts.geom.Geometry geometry)
        Returns true if the given geometry is a rectangle.
        Parameters:
        geometry - Geometry
        Returns:
        True if the given geometry is a rectangle