org.gvsig.fmap.geom.aggregate.impl
Class MultiSolid2DZ
java.lang.Object
org.gvsig.fmap.geom.primitive.impl.AbstractPrimitive
org.gvsig.fmap.geom.aggregate.impl.BaseMultiPrimitive
org.gvsig.fmap.geom.aggregate.impl.MultiSolid2DZ
- All Implemented Interfaces:
- Shape, Serializable, Comparable, Aggregate, MultiPrimitive, MultiSolid, Geometry, FShape, Primitive
public class MultiSolid2DZ
- extends BaseMultiPrimitive
- implements MultiSolid
- Author:
- Jorge Piera LlodrĂ¡ (jorge.piera@iver.es)
- See Also:
- Serialized Form
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 |
addSolid(Solid solid)
Adds a new solid to the multi solid |
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. |
Solid |
getSolidAt(int index)
Gets the solid that is on a concrete position
inside the multi solid |
Methods inherited from class org.gvsig.fmap.geom.aggregate.impl.BaseMultiPrimitive |
addPrimitive, cloneFShape, contains, contains, contains, contains, fastIntersects, getBounds, getBounds2D, getEnvelope, getGeneralPath, getGeometries, getHandlers, getInternalShape, getPathIterator, getPathIterator, getPrimitiveAt, getPrimitivesNumber, getSelectHandlers, getStretchingHandlers, intersects, intersects, isSimple, reProject, transform |
Methods inherited from class org.gvsig.fmap.geom.primitive.impl.AbstractPrimitive |
area, buffer, centroid, cloneGeometry, compareTo, contains, containsPoint, containsRectangle, convertToWKB, convertToWKT, convexHull, coveredBy, crosses, difference, disjoint, distance, equals, getGeometryType, getId, getShape, getShape, getShapeType, getSRS, getType, intersection, intersects, intersectsRectangle, invokeOperation, invokeOperation, moveGeom, overlaps, perimeter, rotateGeom, scaleGeom, toString, touches, transform, union, within |
Methods inherited from interface org.gvsig.fmap.geom.Geometry |
area, buffer, centroid, cloneGeometry, contains, convertToWKB, convertToWKT, convexHull, coveredBy, crosses, difference, disjoint, distance, fastIntersects, getBounds2D, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, intersection, intersects, intersects, invokeOperation, invokeOperation, isSimple, overlaps, perimeter, reProject, touches, transform, union, within |
MultiSolid2DZ
public MultiSolid2DZ(GeometryType geomType)
- The constructor with the GeometryType like and argument
is used by the
GeometryType
#create()
to create the geometry
- Parameters:
type
- The geometry type
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 BaseMultiPrimitive
- Returns:
- The dimension.
addSolid
public void addSolid(Solid solid)
- Description copied from interface:
MultiSolid
- Adds a new solid to the multi solid
- Specified by:
addSolid
in interface MultiSolid
- Parameters:
solid
- The solid to add
getSolidAt
public Solid getSolidAt(int index)
- Description copied from interface:
MultiSolid
- Gets the solid that is on a concrete position
inside the multi solid
- Specified by:
getSolidAt
in interface MultiSolid
- Parameters:
index
- The position
- Returns:
- The selected solid
Copyright © 2004-2012 gvSIG. All Rights Reserved.