org.opengis.geometry.primitive

## Interface Solid

• ### Method Summary

All Methods
Modifier and Type Method and Description
`double` `getArea()`
Returns the sum of the surface areas of all of the boundary components of a solid.
`SolidBoundary` `getBoundary()`
Returns a sequence of sets of surfaces that limit the extent of this `Solid`.
`OrientablePrimitive[]` `getProxy()`
Returns always `null`, since solids have no proxy.
`double` `getVolume()`
Returns the volume of this solid.
• ### Methods inherited from interface Primitive

`getComplexes, getComposite, getContainedPrimitives, getContainingPrimitives`
• ### Methods inherited from interface Geometry

`clone, distance, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getEnvelope, getMaximalComplex, getMbRegion, getPrecision, getRepresentativePoint, isCycle, isMutable, isSimple, toImmutable, transform, transform`
• ### Methods inherited from interface TransfiniteSet

`contains, contains, difference, equals, intersection, intersects, symmetricDifference, union`
• ### Method Detail

• #### getBoundary

```@UML(identifier="boundary",
obligation=MANDATORY,
specification=ISO_19107)
SolidBoundary getBoundary()```
Returns a sequence of sets of surfaces that limit the extent of this `Solid`. These surfaces shall be organized into one set of surfaces for each boundary component of this `Solid`. Each of these shells shall be a cycle (closed composite surface without boundary).
NOTE: The exterior shell of a solid is defined only because the embedding coordinate space is always a 3D Euclidean one. In general, a solid in a bounded 3-dimensional manifold has no distinguished exterior boundary. In cases where "exterior" boundary is not well defined, all the shells of the solid boundary shall be listed as "interior".
The orientable surfaces that bound a solid shall be oriented outward - that is, the "top" of each surface as defined by its orientation shall face away from the interior of the solid. Each shell, when viewed as a composite surface, shall be a cycle.
Specified by:
`getBoundary` in interface `Geometry`
Specified by:
`getBoundary` in interface `Primitive`
Returns:
The sets of positions on the boundary.
`Geometry.getMbRegion()`, `Geometry.getClosure()`, `Geometry.getBuffer(double)`, `#getDistance`
• #### getArea

```@UML(identifier="area",
obligation=MANDATORY,
specification=ISO_19107)
double getArea()```
Returns the sum of the surface areas of all of the boundary components of a solid.
Returns:
The area of this solid.
• #### getVolume

```@UML(identifier="volume",
obligation=MANDATORY,
specification=ISO_19107)
double getVolume()```
Returns the volume of this solid. This is the volume interior to the exterior boundary shell minus the sum of the volumes interior to any interior boundary shell.
Returns:
The volume of this solid.
• #### getProxy

```@Association(value="Oriented")
@UML(identifier="proxy",
obligation=FORBIDDEN,
specification=ISO_19107)
OrientablePrimitive[] getProxy()```
Returns always `null`, since solids have no proxy.
Specified by:
`getProxy` in interface `Primitive`
Returns:
The orientable primitives as an array of length 2, or `null` if none.
`OrientablePrimitive.getPrimitive()`