org.gvsig.fmap.geom.primitive.impl
Class Geometry2D

java.lang.Object
  extended by org.gvsig.fmap.geom.primitive.impl.AbstractPrimitive
      extended by org.gvsig.fmap.geom.primitive.impl.DefaultNullGeometry
          extended by org.gvsig.fmap.geom.primitive.impl.Geometry2D
All Implemented Interfaces:
Shape, Serializable, Comparable, Geometry, FShape, NullGeometry, Primitive

public class Geometry2D
extends DefaultNullGeometry

Author:
Jorge Piera
See Also:
Serialized Form

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 class org.gvsig.fmap.geom.primitive.impl.AbstractPrimitive
geometryType, geomManager, id, projection
 
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
 
Constructor Summary
Geometry2D(GeometryType geometryType)
           
 
Method Summary
 int getDimension()
          Returns the largest number n such that each direct position in a geometric set can be associated with a subset that has the direct position in its interior and is similar (isomorphic) to Rn, Euclidean n-space.
 
Methods inherited from class org.gvsig.fmap.geom.primitive.impl.DefaultNullGeometry
cloneFShape, cloneGeometry, contains, contains, contains, contains, fastIntersects, getBounds, getBounds2D, getEnvelope, getGeneralPath, getHandlers, getPathIterator, getPathIterator, getSelectHandlers, getStretchingHandlers, intersects, intersects, isSimple, reProject, transform
 
Methods inherited from class org.gvsig.fmap.geom.primitive.impl.AbstractPrimitive
area, buffer, centroid, closestPoints, compareTo, contains, containsPoint, containsRectangle, convertToWKB, convertToWKT, convexHull, coveredBy, crosses, difference, disjoint, distance, equals, getGeometryType, getId, getInteriorPoint, getInternalShape, getShape, getShape, getShapeType, getSRS, getType, intersection, intersects, intersectsRectangle, invokeOperation, invokeOperation, isWithinDistance, move, overlaps, perimeter, rotate, scale, snapTo, toString, touches, transform, union, within
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.gvsig.fmap.geom.Geometry
area, buffer, centroid, closestPoints, contains, convertToWKB, convertToWKT, convexHull, coveredBy, crosses, difference, disjoint, distance, getGeometryType, getInteriorPoint, getInternalShape, getShape, getShape, getType, intersection, intersects, invokeOperation, invokeOperation, isWithinDistance, move, overlaps, perimeter, rotate, scale, snapTo, touches, union, within
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

Geometry2D

public Geometry2D(GeometryType geometryType)
Method Detail

getDimension

public int getDimension()
Description copied from interface: Geometry
Returns the largest number n such that each direct position in a geometric set can be associated with a subset that has the direct position in its interior and is similar (isomorphic) to Rn, Euclidean n-space.

Specified by:
getDimension in interface Geometry
Overrides:
getDimension in class DefaultNullGeometry
Returns:
The dimension.


Copyright © 2004-2013 gvSIG. All Rights Reserved.