Interface ITerrain

All Known Implementing Classes:
WangColor

public interface ITerrain
Interface representing a terrain with specific characteristics. Implementations of this interface define methods to retrieve the name, color, and probability associated with the terrain, which may be used for automatic mapping purposes.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the color associated with the terrain.
    Gets the name of the terrain.
    double
    Gets the probability value associated with the terrain.
  • Method Details

    • getName

      String getName()
      Gets the name of the terrain.
      Returns:
      A String representing the name of the terrain.
    • getColor

      Color getColor()
      Gets the color associated with the terrain.
      Returns:
      A Color object representing the color of the terrain.
    • getProbability

      double getProbability()
      Gets the probability value associated with the terrain.

      The probability value is used in automatic mapping processes to indicate the likelihood or preference of using this terrain in specific contexts. Higher probability values may suggest a higher preference for automatic mapping.

      Returns:
      A double representing the probability value of the terrain.