Class WCSElevationModel

    • Constructor Detail

      • WCSElevationModel

        public WCSElevationModel​(org.w3c.dom.Element domElement,
                                 AVList params)
      • WCSElevationModel

        public WCSElevationModel​(java.lang.String restorableStateInXml)
        Create a new elevation model from a serialized restorable state string.
        Parameters:
        restorableStateInXml - XML string in WorldWind restorable state format.
        See Also:
        BasicElevationModel.getRestorableState()
    • Method Detail

      • wcsGetParamsFromDocument

        protected static AVList wcsGetParamsFromDocument​(org.w3c.dom.Element domElement,
                                                         AVList params)
      • wcsSetFallbacks

        protected static void wcsSetFallbacks​(AVList params)
      • createConfigurationDocument

        protected org.w3c.dom.Document createConfigurationDocument​(AVList params)
        Appends WCS elevation model configuration elements to the superclass configuration document.
        Overrides:
        createConfigurationDocument in class BasicElevationModel
        Parameters:
        params - configuration parameters describing this WCS basic elevation model.
        Returns:
        a WCS basic elevation model configuration document.
      • composeElevations

        public void composeElevations​(Sector sector,
                                      java.util.List<? extends LatLon> latlons,
                                      int tileWidth,
                                      double[] buffer)
                               throws java.lang.Exception
        Description copied from interface: ElevationModel
        Determines the elevations at specified locations within a specified Sector.
        Specified by:
        composeElevations in interface ElevationModel
        Overrides:
        composeElevations in class AbstractElevationModel
        Parameters:
        sector - the sector containing the locations.
        latlons - the locations for which to return elevations.
        tileWidth - the number of locations that comprise one row in the latlons argument.
        buffer - a buffer in which to put the elevations. The buffer must have at least as many elements as the number of specified locations.
        Throws:
        java.lang.Exception - if the method fails. Different elevation models may fail for different reasons.
        java.lang.IllegalArgumentException - if either the sector, list of locations or buffer is null, if the buffer size is not at least as large as the location list, or the tile width is greater than the locations list length or less than 1.
      • wcsRestorableStateToParams

        protected static AVList wcsRestorableStateToParams​(java.lang.String stateInXml)