Interface Tessellator

    • Method Detail

      • tessellate

        SectorGeometryList tessellate​(DrawContext dc)
        Tessellate a globe for the currently visible region.
        Parameters:
        dc - the current draw context.
        Returns:
        the tessellation, or null if the tessellation failed or the draw context identifies no visible region.
        Throws:
        java.lang.IllegalStateException - if the globe has no tessellator and a default tessellator cannot be created.
      • isMakeTileSkirts

        boolean isMakeTileSkirts()
        Indicates whether the tessellator creates "skirts" around the tiles in order to hide gaps between adjacent tiles with differing tessellations.
        Returns:
        true if skirts are created, otherwise false.
      • setMakeTileSkirts

        void setMakeTileSkirts​(boolean makeTileSkirts)
        Specifies whether the tessellator creates "skirts" around the tiles in order to hide gaps between adjacent tiles with differing tessellations.
        Parameters:
        makeTileSkirts - true if skirts are created, otherwise false.
      • getUpdateFrequency

        long getUpdateFrequency()
        Indicates the maximum amount of time that may elapse between re-tessellation. Re-tessellation is performed to synchronize the terrain's resolution into with the current viewing state and availability of elevations.
        Returns:
        the update frequency, in milliseconds.
      • setUpdateFrequency

        void setUpdateFrequency​(long updateFrequency)
        Indicates the maximum amount of time that may elapse between re-tessellation. Re-tessellation is performed to synchronize the terrain's resolution into with the current viewing state and availability of elevations.
        Parameters:
        updateFrequency - the update frequency, in milliseconds.