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 geometry, double height, double g, long pk, boolean zBuildings)
    • Building

      public Building(org.locationtech.jts.geom.Polygon poly, double height, List<Double> alphas, long key, boolean zBuildings)
      Main constructor.
      Parameters:
      poly - Geometry footprint of the building.
      height - Height of the building.
      alphas - Absorption coefficients.
      key - Primary key of the building in the database.
  • Method Details

    • poly2D_3D

      public void poly2D_3D()
    • getHeight

      public double getHeight()
      get Height from Building
      Returns:
      height
    • 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.
    • updateZTopo

      public double updateZTopo(ProfileBuilder profileBuilder)
      Compute minimum Z ground under the building contour
      Parameters:
      profileBuilder -
      Returns:
    • getZ

      public double getZ()
    • setWalls

      public void setWalls(List<Wall> walls)
      Parameters:
      walls -
    • getWalls

      public Collection<? extends Wall> getWalls()