Skip to content

Commit

Permalink
Update NoiseMapLoader.java
Browse files Browse the repository at this point in the history
  • Loading branch information
MaguetteD authored Oct 10, 2024
1 parent 8ef7536 commit e04bae7
Showing 1 changed file with 27 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public void setPropagationProcessPathData(NoiseMapParameters.TIME_PERIOD time_pe
attenuationCnossosParametersNight = attenuationCnossosParameters;
}
}
/*public AttenuationCnossosParameters getPropagationProcessPathDataDay() {
public AttenuationCnossosParameters getPropagationProcessPathDataDay() {
return attenuationCnossosParametersDay;
}

Expand Down Expand Up @@ -239,17 +239,19 @@ public void setVerbose(boolean verbose) {

/**
* @return Get building absorption coefficient column name
*/

public String getAlphaFieldName() {
return alphaFieldName;
}

/**
* @param alphaFieldName Set building absorption coefficient column name (default is ALPHA)
*/

public void setAlphaFieldName(String alphaFieldName) {
this.alphaFieldName = alphaFieldName;
}*/
}

/**
* Compute the envelope corresping to parameters
Expand All @@ -273,9 +275,9 @@ public double getGroundSurfaceSplitSideLength() {
return groundSurfaceSplitSideLength;
}

/*public void setGroundSurfaceSplitSideLength(double groundSurfaceSplitSideLength) {
public void setGroundSurfaceSplitSideLength(double groundSurfaceSplitSideLength) {
this.groundSurfaceSplitSideLength = groundSurfaceSplitSideLength;
}*/
}

/**
* Fetches digital elevation model (DEM) data for the specified cell envelope and adds it to the mesh.
Expand Down Expand Up @@ -531,9 +533,9 @@ public void fetchCellSource(Connection connection, Envelope fetchEnvelope, Scene
/**
* true if train propagation is computed (multiple reflection between the train and a screen)
*/
/*public void setBodyBarrier(boolean bodyBarrier) {
public void setBodyBarrier(boolean bodyBarrier) {
this.bodyBarrier = bodyBarrier;
}*/
}

public double getCellWidth() {
return mainEnvelope.getWidth() / gridDim;
Expand All @@ -543,10 +545,6 @@ public double getCellHeight() {
return mainEnvelope.getHeight() / gridDim;
}

/*protected static Double DbaToW(Double dBA) {
return Math.pow(10., dBA / 10.);
}*/

abstract protected Envelope getComputationEnvelope(Connection connection) throws SQLException;

/**
Expand Down Expand Up @@ -611,9 +609,9 @@ public void setGridDim(int gridDim) {
* It may also contain a height field (0-N] average building height from the ground.
* @return Table name that contains buildings
*/
/*public String getBuildingsTableName() {
public String getBuildingsTableName() {
return buildingsTableName;
}*/
}

/**
* This table must contain a POINT or LINESTRING column, and spectrum in dB(A).
Expand All @@ -634,7 +632,7 @@ public String getSourcesTableName() {
* - Smooth concrete G=0
* @return Table name of grounds properties
*/
/*public String getSoilTableName() {
public String getSoilTableName() {
return soilTableName;
}

Expand All @@ -643,7 +641,7 @@ public String getSourcesTableName() {
public boolean isReceiverHasAbsoluteZCoordinates() {
return receiverHasAbsoluteZCoordinates;
}*/
}
/**
*
Expand All @@ -656,9 +654,9 @@ public void setReceiverHasAbsoluteZCoordinates(boolean receiverHasAbsoluteZCoord
/**
* @return True if provided Z value are sea level (false for relative to ground level)
*/
/*public boolean isSourceHasAbsoluteZCoordinates() {
public boolean isSourceHasAbsoluteZCoordinates() {
return sourceHasAbsoluteZCoordinates;
}*/
}

/**
* @param sourceHasAbsoluteZCoordinates True if provided Z value are sea level (false for relative to ground level)
Expand All @@ -672,9 +670,9 @@ public boolean iszBuildings() {
return zBuildings;
}

/*public void setzBuildings(boolean zBuildings) {
public void setzBuildings(boolean zBuildings) {
this.zBuildings = zBuildings;
}*/
}


/**
Expand All @@ -696,9 +694,9 @@ public void setSoilTableName(String soilTableName) {
* DEM points too close with buildings are not fetched.
* @return Digital Elevation model table name
*/
/*public String getDemTable() {
public String getDemTable() {
return demTable;
}*/
}

/**
* Digital Elevation model table name. Currently only a table with POINTZ column is supported.
Expand All @@ -714,26 +712,27 @@ public void setDemTable(String demTable) {
* Without the hertz value.
* @return Hertz field prefix
*/
/*public String getSound_lvl_field() {
public String getSound_lvl_field() {
return sound_lvl_field;
}*/
}

/**
* Field name of the {@link #sourcesTableName}HERTZ. Where HERTZ is a number [100-5000].
* Without the hertz value.
* @param sound_lvl_field Hertz field prefix
*/
/*public void setSound_lvl_field(String sound_lvl_field) {
public void setSound_lvl_field(String sound_lvl_field) {
this.sound_lvl_field = sound_lvl_field;
}

/**
* @return Sound propagation stop at this distance, default to 750m.
* Computation cell size if proportional with this value.
*/

public double getMaximumPropagationDistance() {
return maximumPropagationDistance;
}*/
}

/**
* @param maximumPropagationDistance Sound propagation stop at this distance, default to 750m.
Expand All @@ -746,9 +745,9 @@ public void setMaximumPropagationDistance(double maximumPropagationDistance) {
/**
*
*/
/*public void setGs(double gs) {
public void setGs(double gs) {
this.gs = gs;
}*/
}

public double getGs() {
return this.gs;
Expand Down Expand Up @@ -837,10 +836,11 @@ public void setWallAbsorption(double wallAbsorption) {

/**
* @return {@link #buildingsTableName} table field name for buildings height above the ground.
*/

public String getHeightField() {
return heightField;
}*/
}

/**
* @param heightField {@link #buildingsTableName} table field name for buildings height above the ground.
Expand Down

0 comments on commit e04bae7

Please sign in to comment.