org.gvsig.fmap.geom.aggregate
Interface MultiPoint

All Superinterfaces:
Aggregate, Comparable, Geometry, MultiPrimitive, Serializable, Shape
All Known Implementing Classes:
MultiPoint2D, MultiPoint2DZ

public interface MultiPoint
extends MultiPrimitive

This interface is equivalent to the GM_MultiPoint specified in ISO 19107. MultiPoint is an aggregate class containing only points. The association role "element" shall be the set of Point's contained in this MultiPoint.

Author:
Jorge Piera
See Also:
ISO 19107

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.gvsig.fmap.geom.Geometry
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES
 
Field Summary
 
Fields inherited from interface org.gvsig.fmap.geom.Geometry
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
 
Method Summary
 void addPoint(Point point)
          Adds a new point to the multipoint
 Point getPointAt(int index)
          Gets the point that is on a concrete position inside the multi point
 
Methods inherited from interface org.gvsig.fmap.geom.aggregate.MultiPrimitive
addPrimitive
 
Methods inherited from interface org.gvsig.fmap.geom.aggregate.Aggregate
getPrimitiveAt, getPrimitivesNumber
 
Methods inherited from interface org.gvsig.fmap.geom.Geometry
area, buffer, centroid, cloneGeometry, contains, convertToWKB, convertToWKT, convexHull, coveredBy, crosses, difference, disjoint, distance, fastIntersects, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, intersection, intersects, intersects, invokeOperation, invokeOperation, isSimple, overlaps, perimeter, reProject, touches, transform, union, within
 
Methods inherited from interface java.awt.Shape
contains, contains, contains, contains, getBounds, intersects
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

addPoint

void addPoint(Point point)
Adds a new point to the multipoint

Parameters:
point - The point to add

getPointAt

Point getPointAt(int index)
Gets the point that is on a concrete position inside the multi point

Parameters:
index - The position
Returns:
The selected point


Copyright © 2004-2012 gvSIG. All Rights Reserved.