org.gvsig.fmap.geom.primitive
Interface Solid

All Superinterfaces:
Comparable, Geometry, Primitive, Serializable, Shape
All Known Implementing Classes:
Solid2DZ

public interface Solid
extends Primitive

This interface is equivalent to the GM_Solid specified in ISO 19107. Solid is a subclass of Primitive, and is the basis for 3-dimensional geometry. The extent of a solid is defined by the boundary surfaces.

Author:
Jorge Piera, Jordi Torres Fabra, Rafa Gaitán Linares
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 addSurface(Surface surface)
          Add a surface to the Solid
 Appearance getAppearance()
          Gets the appearance of a solid
 int getNumSurfaces()
          Get the number of surfaces in a solid
 Surface getSurfaceAt(int position)
          Gets a surface in a concrete position
 void removeSurface(int position)
          Remove surface from solid at concrete position
 void setAppearance(Appearance app)
          Sets the appearance of a Solid
 
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

addSurface

void addSurface(Surface surface)
Add a surface to the Solid

Parameters:
surface - the surface to add

removeSurface

void removeSurface(int position)
Remove surface from solid at concrete position

Parameters:
position - the concrete position

getNumSurfaces

int getNumSurfaces()
Get the number of surfaces in a solid

Returns:
the number of surfaces

getSurfaceAt

Surface getSurfaceAt(int position)
Gets a surface in a concrete position

Parameters:
position - the concrete position
Returns:
the surface

setAppearance

void setAppearance(Appearance app)
Sets the appearance of a Solid

Parameters:
app - the appearance

getAppearance

Appearance getAppearance()
Gets the appearance of a solid

Returns:


Copyright © 2004-2012 gvSIG. All Rights Reserved.