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, JOIN_STYLE_BEVEL, JOIN_STYLE_MITRE, JOIN_STYLE_ROUND, 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, 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
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()