Class JTSGeometryCollectionExpression<T extends com.vividsolutions.jts.geom.GeometryCollection>

Type Parameters:
T -
All Implemented Interfaces:
Expression<T>, Serializable
Direct Known Subclasses:
JTSGeometryCollectionPath, JTSMultiCurveExpression, JTSMultiPointExpression, JTSMultiSurfaceExpression

public abstract class JTSGeometryCollectionExpression<T extends com.vividsolutions.jts.geom.GeometryCollection> extends JTSGeometryExpression<T>
A Geometry collection is a geometric object that is a collection of some number of geometric objects.
Author:
tiwe
See Also:
  • Constructor Details

    • JTSGeometryCollectionExpression

      public JTSGeometryCollectionExpression(Expression<T> mixin)
  • Method Details

    • numGeometries

      public NumberExpression<Integer> numGeometries()
      Returns the number of geometries in this GeometryCollection.
      Returns:
      numbers of geometries
    • geometryN

      public JTSGeometryExpression<com.vividsolutions.jts.geom.Geometry> geometryN(Integer n)
      Returns the Nth geometry in this GeometryCollection.
      Parameters:
      n - one based index
      Returns:
      matching geometry