org.opengis.spatialschema.geometry.primitive
Interface Solid
- All Superinterfaces:
- Geometry, Primitive, TransfiniteSet
@UML(identifier="GM_Solid",
specification=ISO_19107)
public interface Solid- extends Primitive
Basis for 3-dimensional geometry. The extent of a solid is
defined by the boundary surfaces.
- Since:
- GeoAPI 1.0
- Version:
- Abstract specification 5
- See Also:
PrimitiveFactory.createSolid(org.opengis.spatialschema.geometry.primitive.SolidBoundary)
- REVISIT OPEN ISSUE (a GeoAPI comment)
- Some associations are commented out for now.
|
|
Method Summary |
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. |
double |
getVolume()
Returns the volume of this solid. |
| Methods inherited from interface Geometry |
clone, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getDistance, getEnvelope, getMaximalComplex, getMbRegion, getRepresentativePoint, isCycle, isMutable, isSimple, toImmutable, transform, transform |
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.
- See Also:
Geometry.getMbRegion(),
Geometry.getClosure(),
Geometry.getBuffer(double),
Geometry.getDistance(org.opengis.spatialschema.geometry.Geometry)
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.
- REVISIT OPEN ISSUE (a GeoAPI comment)
- In UML diagram, this operation has an
Area return type.
|
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.
- REVISIT OPEN ISSUE (a GeoAPI comment)
- In UML diagram, this operation has a
Volume return type.
|