Class GeometryCollectionShape

  • All Implemented Interfaces:
    Shape


    public class GeometryCollectionShape
    extends Object
    implements Shape
    A Shape which contains a heterogeneous collection of other shapes representing JTS Geometrys.
    • Constructor Detail

      • GeometryCollectionShape

        public GeometryCollectionShape()
    • Method Detail

      • add

        public void add(Shape shape)
      • contains

        public boolean contains(double x,
                                double y)
      • contains

        public boolean contains(Point2D p)
      • intersects

        public boolean intersects(double x,
                                  double y,
                                  double w,
                                  double h)
      • intersects

        public boolean intersects(Rectangle2D r)
      • contains

        public boolean contains(double x,
                                double y,
                                double w,
                                double h)