Class ForestModelHelper

java.lang.Object
com.gaia3d.converter.geometry.ForestModelHelper

public class ForestModelHelper extends Object
  • Field Details

    • isForest

      public static boolean isForest
  • Constructor Details

    • ForestModelHelper

      public ForestModelHelper()
  • Method Details

    • calcTreeCount

      public static int calcTreeCount(org.locationtech.jts.geom.Geometry polygon, double treeProportion, double treeDiameter)
      Calculate the number of trees in a polygon based on the area and tree density.
      Parameters:
      polygon -
      treeProportion - density of trees in the polygon (0.0 to 1.0)
      treeDiameter - diameter of the trees (in square meters)
      Returns:
    • convertTreeHeightForEntity

      public static double convertTreeHeightForEntity(String heightString)
    • convertTreeHeightForESD

      public static double convertTreeHeightForESD(String heightString)