Interface Solid

    • 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.
        See Also:
        Geometry.getMbRegion(), Geometry.getClosure(), Geometry.getBuffer(double)
      • 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.
        TODO:
        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.
        TODO:
        In UML diagram, this operation has a Volume return type.