-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework cutpoint to remove attributes on unrelated cutpoints type. Pre…
…pare for export in json format
- Loading branch information
Showing
16 changed files
with
280 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...org/noise_planet/noisemodelling/pathfinder/profilebuilder/CutPointDistanceComparator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
/** | ||
* NoiseModelling is a library capable of producing noise maps. It can be freely used either for research and education, as well as by experts in a professional use. | ||
* <p> | ||
* NoiseModelling is distributed under GPL 3 license. You can read a copy of this License in the file LICENCE provided with this software. | ||
* <p> | ||
* Official webpage : http://noise-planet.org/noisemodelling.html | ||
* Contact: [email protected] | ||
*/ | ||
|
||
|
||
package org.noise_planet.noisemodelling.pathfinder.profilebuilder; | ||
|
||
import org.locationtech.jts.geom.Coordinate; | ||
|
17 changes: 17 additions & 0 deletions
17
.../java/org/noise_planet/noisemodelling/pathfinder/profilebuilder/CutPointGroundEffect.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* NoiseModelling is a library capable of producing noise maps. It can be freely used either for research and education, as well as by experts in a professional use. | ||
* <p> | ||
* NoiseModelling is distributed under GPL 3 license. You can read a copy of this License in the file LICENCE provided with this software. | ||
* <p> | ||
* Official webpage : http://noise-planet.org/noisemodelling.html | ||
* Contact: [email protected] | ||
*/ | ||
package org.noise_planet.noisemodelling.pathfinder.profilebuilder; | ||
|
||
public class CutPointGroundEffect extends CutPoint { | ||
/** | ||
* Index of the object that reference the external data (not a temporary index in a subdomain) | ||
*/ | ||
public long groundPolygonIndex = -1; | ||
|
||
} |
12 changes: 12 additions & 0 deletions
12
...main/java/org/noise_planet/noisemodelling/pathfinder/profilebuilder/CutPointReceiver.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* NoiseModelling is a library capable of producing noise maps. It can be freely used either for research and education, as well as by experts in a professional use. | ||
* <p> | ||
* NoiseModelling is distributed under GPL 3 license. You can read a copy of this License in the file LICENCE provided with this software. | ||
* <p> | ||
* Official webpage : http://noise-planet.org/noisemodelling.html | ||
* Contact: [email protected] | ||
*/ | ||
package org.noise_planet.noisemodelling.pathfinder.profilebuilder; | ||
|
||
public class CutPointReceiver extends CutPoint { | ||
} |
46 changes: 46 additions & 0 deletions
46
...in/java/org/noise_planet/noisemodelling/pathfinder/profilebuilder/CutPointReflection.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/** | ||
* NoiseModelling is a library capable of producing noise maps. It can be freely used either for research and education, as well as by experts in a professional use. | ||
* <p> | ||
* NoiseModelling is distributed under GPL 3 license. You can read a copy of this License in the file LICENCE provided with this software. | ||
* <p> | ||
* Official webpage : http://noise-planet.org/noisemodelling.html | ||
* Contact: [email protected] | ||
*/ | ||
package org.noise_planet.noisemodelling.pathfinder.profilebuilder; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import org.locationtech.jts.geom.LineSegment; | ||
|
||
import java.util.Collections; | ||
import java.util.List; | ||
|
||
public class CutPointReflection extends CutPoint { | ||
/** | ||
* x,y,z coordinates of the top segment of the wall that reflect the vertical cut plane | ||
* z is altitude | ||
*/ | ||
public LineSegment wall; | ||
/** | ||
* Unique external identifier of the wall. Could be the primary key of the related building in the database | ||
*/ | ||
public long wallPrimaryKey; | ||
|
||
/** | ||
* Obstacle index in the subdomain | ||
* @see ProfileBuilder#processedWalls | ||
*/ | ||
@JsonIgnore | ||
public int obstacleIndex = -1; | ||
|
||
/** Wall absorption coefficient per frequency band.*/ | ||
public List<Double> wallAlpha = Collections.emptyList(); | ||
|
||
|
||
/** | ||
* Sets the wall alpha. | ||
* @param wallAlpha The wall alpha. | ||
*/ | ||
public void setWallAlpha(List<Double> wallAlpha) { | ||
this.wallAlpha = wallAlpha; | ||
} | ||
} |
Oops, something went wrong.