Class AbstractAggregate

java.lang.Object
org.gvsig.fmap.geom.jts.AbstractGeometry
org.gvsig.fmap.geom.jts.aggregate.AbstractAggregate
All Implemented Interfaces:
Shape, Serializable, Cloneable, Comparable, Iterable<org.gvsig.fmap.geom.Geometry>, org.gvsig.fmap.geom.aggregate.Aggregate, org.gvsig.fmap.geom.Geometry, GeometryJTS, org.gvsig.tools.util.GetItem<org.gvsig.fmap.geom.Geometry>, org.gvsig.tools.util.IsEmpty, org.gvsig.tools.util.Size
Direct Known Subclasses:
AbstractMultiPrimitive

public abstract class AbstractAggregate extends AbstractGeometry implements org.gvsig.fmap.geom.aggregate.Aggregate
Author:
fdiaz
See Also:
  • Constructor Details

    • AbstractAggregate

      public AbstractAggregate(int type, int subtype)
      Parameters:
      type -
      subtype -
  • Method Details

    • getPrimitivesNumber

      public int getPrimitivesNumber()
      Specified by:
      getPrimitivesNumber in interface org.gvsig.fmap.geom.aggregate.Aggregate
    • getPrimitiveAt

      public org.gvsig.fmap.geom.primitive.Primitive getPrimitiveAt(int i)
      Specified by:
      getPrimitiveAt in interface org.gvsig.fmap.geom.aggregate.Aggregate
    • iterator

      public Iterator<org.gvsig.fmap.geom.Geometry> iterator()
      Specified by:
      iterator in interface Iterable<org.gvsig.fmap.geom.Geometry>
    • ensureCapacity

      public void ensureCapacity(int capacity)
    • reProject

      public void reProject(org.gvsig.crs.projection.lib.CoordinateTransformation ct)
      Specified by:
      reProject in interface org.gvsig.fmap.geom.Geometry
    • transform

      public void transform(AffineTransform at)
      Specified by:
      transform in interface org.gvsig.fmap.geom.Geometry
    • is3D

      public boolean is3D()
      Specified by:
      is3D in interface GeometryJTS
    • getShape

      public Shape getShape(AffineTransform affineTransform)
      Specified by:
      getShape in interface org.gvsig.fmap.geom.Geometry
    • getShape

      public Shape getShape()
      Specified by:
      getShape in interface org.gvsig.fmap.geom.Geometry
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface org.gvsig.fmap.geom.Geometry
      Overrides:
      equals in class AbstractGeometry
    • canBeTransformed

      public boolean canBeTransformed(AffineTransform at)
      Specified by:
      canBeTransformed in interface org.gvsig.fmap.geom.Geometry
    • canBeReprojected

      public boolean canBeReprojected(org.gvsig.crs.projection.lib.CoordinateTransformation ct)
      Specified by:
      canBeReprojected in interface org.gvsig.fmap.geom.Geometry
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.gvsig.fmap.geom.Geometry
      Specified by:
      isEmpty in interface org.gvsig.tools.util.IsEmpty
      Overrides:
      isEmpty in class AbstractGeometry
    • size

      public int size()
      Specified by:
      size in interface org.gvsig.tools.util.Size
    • get

      public org.gvsig.fmap.geom.Geometry get(int position)
      Specified by:
      get in interface org.gvsig.tools.util.GetItem<org.gvsig.fmap.geom.Geometry>