Package org.gvsig.fmap.geom.primitive
Interface Solid
- All Superinterfaces:
Cloneable,Comparable,Geometry,Primitive,Serializable,Shape
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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gvsig.fmap.geom.Geometry
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus -
Field Summary
Fields inherited from interface org.gvsig.fmap.geom.Geometry
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, JOIN_STYLE_BEVEL, JOIN_STYLE_MITRE, JOIN_STYLE_ROUND, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSurface(Surface surface) Add a surface to the SolidGets the appearance of a solidintGet the number of surfaces in a solidgetSurfaceAt(int position) Gets a surface in a concrete positionvoidremoveSurface(int position) Remove surface from solid at concrete positionvoidsetAppearance(Appearance app) Sets the appearance of a SolidMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.gvsig.fmap.geom.Geometry
area, boundary, buffer, buffer, canBeReprojected, canBeTransformed, centroid, clone, cloneGeometry, closestPoints, contains, convertTo, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToGeoJson, convertToHexEWKB, convertToHexEWKBQuietly, convertToHexWKB, convertToHexWKBQuietly, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKBQuietly, convertToWKT, convertToWKTQuietly, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, equals, fastIntersects, fix, flip, force2D, forceSubtype, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getProjection, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isEmpty, isSimple, isValid, isWithinDistance, makeValid, move, offset, offset, out, overlaps, perimeter, reProject, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, toLines, toPoints, toPolygons, touches, transform, union, within
-
Method Details
-
addSurface
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
Gets a surface in a concrete position- Parameters:
position- the concrete position- Returns:
- the surface
-
setAppearance
Sets the appearance of a Solid- Parameters:
app- the appearance
-
getAppearance
Appearance getAppearance()Gets the appearance of a solid- Returns:
-