Class Building

java.lang.Object
org.noise_planet.noisemodelling.pathfinder.profilebuilder.Obstruction
org.noise_planet.noisemodelling.pathfinder.profilebuilder.Building

public class Building extends Obstruction
  • Constructor Details

    • Building

      public Building(org.locationtech.jts.geom.Polygon poly, List<Double> alphas, double g, long key)
      Main constructor. setting Alphas version and or g version
      Parameters:
      poly - Geometry of the building.
      alphas - Absorption coefficients.
      key - Primary key of the building in the database.
    • Building

      public Building(org.locationtech.jts.geom.Polygon poly, List<Double> alphas, long key)
      Main constructor. setting Alphas version
      Parameters:
      poly - Geometry footprint of the building.
      alphas - Absorption coefficients.
      key - Primary key of the building in the database.
    • Building

      public Building(org.locationtech.jts.geom.Polygon poly, double g, long key)
      Main constructor. setting g version
      Parameters:
      poly - Geometry footprint of the building.
      g - G value.
      key - Primary key of the building in the database.
  • Method Details

    • getGeometry

      public org.locationtech.jts.geom.Polygon getGeometry()
      Retrieve the building footprint.
      Returns:
      The building footprint.
    • getPrimaryKey

      public long getPrimaryKey()
      Retrieve the primary key of the building in the database. If there is no primary key, returns -1.
      Returns:
      The primary key of the building in the database or -1.
    • getAverageZ

      public double getAverageZ()