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.
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Modifier and Type | Method and Description |
---|---|
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
|
area, buffer, centroid, cloneGeometry, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, flip, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, offset, out, overlaps, perimeter, reProject, rotate, scale, snapTo, toLines, toPoints, toPolygons, touches, transform, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
void addSurface(Surface surface)
surface
- the surface to addvoid removeSurface(int position)
position
- the concrete positionint getNumSurfaces()
Surface getSurfaceAt(int position)
position
- the concrete positionvoid setAppearance(Appearance app)
app
- the appearanceAppearance getAppearance()