Interface GeometryExpression<T>

    • Method Detail

      • getEnvelope

        GeometryExpression getEnvelope()
        Returns the rectangle bounding Geometry as a Polygon.
        Returns:
        The bounding envelope
      • getDimension

        NumericExpression getDimension()
        Returns the dimension of the Geometry.
        Returns:
        The dimension
      • getBoundary

        GeometryExpression getBoundary()
        Returns a Geometry that is the combinatorial boundary of the Geometry.
        Returns:
        The boundary geometry
      • getSRID

        NumericExpression getSRID()
        Returns the Spatial Reference System ID for this Geometry.
        Returns:
        The SRID
      • isSimple

        BooleanExpression isSimple()
        Whether this Geometry is simple, as defined in the Geometry Model.
        Returns:
        Whether it is simple
      • isEmpty

        BooleanExpression isEmpty()
        Returns whether this Geometry corresponds to the empty set.
        Returns:
        Whether it is empty
      • toText

        StringExpression toText()
        Returns the well-known textual representation.
        Returns:
        The geometry as text
      • toBinary

        ObjectExpression toBinary()
        Returns the well-known binary representation.
        Returns:
        The geometry as binary
      • getGeometryType

        StringExpression getGeometryType()
        Returns the name of the instantiable subtype of Geometry.
        Returns:
        The type
      • contains

        BooleanExpression contains​(GeometryExpression geom)
        TRUE if the second Geometry is completely contained in first Geometry
        Parameters:
        geom - The other geometry
        Returns:
        Whether this contains the other geometry
      • overlaps

        BooleanExpression overlaps​(GeometryExpression geom)
        TRUE if this geometry is spatially overlapping the other Geometry.
        Parameters:
        geom - The other geometry
        Returns:
        Whether they overlap
      • touches

        BooleanExpression touches​(GeometryExpression geom)
        TRUE if this geometry spatially touches the other Geometry.
        Parameters:
        geom - The other geometry
        Returns:
        Whether they touch
      • crosses

        BooleanExpression crosses​(GeometryExpression geom)
        TRUE if this geometry crosses the other Geometry.
        Parameters:
        geom - The other geometry
        Returns:
        Whether they cross
      • within

        BooleanExpression within​(GeometryExpression geom)
        TRUE if this geometry is completely contained in second Geometry.
        Parameters:
        geom - The other geometry
        Returns:
        Whether it is contained
      • intersects

        BooleanExpression intersects​(GeometryExpression geom)
        TRUE if this Geometry spatially intersects the other Geometry.
        Parameters:
        geom - The other geometry
        Returns:
        Whether they intersect
      • equals

        BooleanExpression equals​(GeometryExpression geom)
        TRUE if the two geometries are spatially equal.
        Parameters:
        geom - The other geometry
        Returns:
        Whether they are equals
      • disjoint

        BooleanExpression disjoint​(GeometryExpression geom)
        TRUE if the two geometries are spatially disjoint.
        Parameters:
        geom - The other geometry
        Returns:
        Whether they are disjoint
      • relate

        BooleanExpression relate​(GeometryExpression geom,
                                 StringExpression pattern)
        TRUE if the spatial relationship specified by the pattern matrix holds
        Parameters:
        geom - The geometry to relate to
        pattern - The pattern matrix
        Returns:
        Whether they relate
      • intersection

        GeometryExpression intersection​(GeometryExpression geom)
        Returns a Geometry that is the set intersection of the two geometries.
        Parameters:
        geom - The other geometry
        Returns:
        the intersection
      • buffer

        GeometryExpression buffer​(NumericExpression dist)
        Returns as Geometry defined by buffering a distance around the Geometry.
        Parameters:
        dist - distance of the buffer
        Returns:
        the buffered geometry
      • convexHull

        GeometryExpression convexHull()
        Returns a Geometry that is the convex hull of the Geometry.
        Returns:
        The convex hull geometry
      • symDifference

        GeometryExpression symDifference​(GeometryExpression geom)
        Returns a Geometry that is the closure of the set symmetric difference of the two geometries.
        Parameters:
        geom - The other geometry
        Returns:
        The sym difference
      • difference

        GeometryExpression difference​(GeometryExpression geom)
        Returns a Geometry that is the closure of the set difference of the two geometries.
        Parameters:
        geom - The other geometry
        Returns:
        The difference
      • union

        GeometryExpression union​(GeometryExpression geom)
        Returns a Geometry that is the set union of the two geometries.
        Parameters:
        geom - The other geometry
        Returns:
        The union of the two geometries
      • getLength

        NumericExpression getLength()
        Returns the length of the Curve/MultiCurve.
        Returns:
        The length
      • getNumPoints

        NumericExpression getNumPoints()
        Returns the number of points in the LineString.
        Returns:
        The number of points
      • getCentroid

        GeometryExpression getCentroid()
        Returns the centroid of Surface/MultiSurface, which may lie outside of it.
        Returns:
        The centroid
      • getArea

        NumericExpression getArea()
        Returns the area of Surface/MultiSurface.
        Returns:
        The area
      • getPointOnSurface

        GeometryExpression getPointOnSurface()
        Returns a Point guaranteed to lie on the surface.
        Returns:
        The point
      • getNumGeometries

        NumericExpression getNumGeometries()
        Returns the number of geometries in the collection.
        Returns:
        Number of geometries
      • getGeometryN

        GeometryExpression getGeometryN​(NumericExpression position)
        Returns the nth geometry in the collection.
        Parameters:
        position - The "n"
        Returns:
        The nth geometry of the collection