Interface SurfacePatch

    • Method Detail

      • getSurface

        @Association("Segmentation")
        @UML(identifier="surface",
             obligation=OPTIONAL,
             specification=ISO_19107)
        Surface getSurface()
        Returns the patch which own this surface patch. This method is optional since the association in ISO 19107 is navigable only from Surface to SurfacePatch, not the other way.
        Note: In the specification, surface patches do not appear except in the context of a surface, and therefore this method should never returns null which would preclude the use of surface patches except in this manner. While this would not affect the specification, allowing null owner allows other standards based on ISO 19107 one to use surface patches in a more open-ended manner.
        Returns:
        the owner of this surface patch, or null if the association is not available or not implemented that way.
        See Also:
        Surface.getPatches(), CurveSegment.getCurve()
      • getInterpolation

        @UML(identifier="interpolation",
             obligation=MANDATORY,
             specification=ISO_19107)
        SurfaceInterpolation getInterpolation()
        Determines the surface interpolation mechanism used for this SurfacePatch. This mechanism uses the control points and control parameters defined in the various subclasses to determine the position of this SurfacePatch.
        Returns:
        the interpolation mechanism.
      • getNumDerivativesOnBoundary

        @UML(identifier="numDerivativesOnBoundary",
             obligation=MANDATORY,
             specification=ISO_19107)
        int getNumDerivativesOnBoundary()
        Specifies the type of continuity between this surface patch and its immediate neighbors with which it shares a boundary curve. The sequence of values corresponds to the rings in the surface boundary returned by getBoundary() for this patch. The default value of "0" means simple continuity, which is a mandatory minimum level of continuity. This level is referred to as "C⁰" in mathematical texts. A value of 1 means that the functions are continuous and differentiable at the appropriate end point: "C¹" continuity. A value of "n" for any integer means n-times differentiable: "Cⁿ" continuity.
        Returns:
        the type of continuity between this surface patch and its immediate neighbors.