Class Scene
java.lang.Object
org.noise_planet.noisemodelling.pathfinder.path.Scene
- Direct Known Subclasses:
SceneWithAttenuation
Data input for a propagation process (Sub domain generated by ReceiverGrideNoiseMapLoader).
- Author:
- Nicolas Fortin, Pierre Aumond, Adrien Le Bellec
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanCompute horizontal diffraction rays over vertical edgesbooleanTrue will compute vertical diffraction over horizontal edgesstatic final doublestatic final doublestatic final doublestatic final doublestatic final doubledoublestatic final Stringstatic final Stringdoubledictates the density of source points created from a line sound source; a higher value means more points and finer discretization sourcePointDistance = DistanceSourceReceiver / lineSourceSpacingRatiodoubleMaximum reflection wall distance from receiver to source linedoubleMaximum source distancestatic final StringProfile builderList<org.locationtech.jts.geom.Coordinate> coordinate of receiversintMaximum reflexion orderstatic final StringList<org.locationtech.jts.geom.Geometry> Sources geometries.Source orientation for emission computationSource Indexstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddReceiver(long pk, org.locationtech.jts.geom.Coordinate position) voidaddReceiver(long pk, org.locationtech.jts.geom.Coordinate position, org.h2gis.utilities.SpatialResultSet rs) voidaddReceiver(org.locationtech.jts.geom.Coordinate... receiver) voidAdd geometry with additional attributesvoidaddSource(Long pk, org.locationtech.jts.geom.Geometry geom, Orientation orientation) Add geometry with additional attributesvoidaddSource(org.locationtech.jts.geom.Geometry geom) Add the geometry of the sourcevoiddoubleintbooleanvoidsetBodyBarrier(boolean bodyBarrier) voidsetCloseReceiverReflectionWallDistance(double closeReceiverReflectionWallDistance) voidsetComputeHorizontalDiffraction(boolean computeHorizontalDiffraction) voidsetComputeVerticalDiffraction(boolean computeVerticalDiffraction) voidsetDefaultGroundAttenuation(double gS) voidsetReflexionOrder(int reflexionOrder)
-
Field Details
-
DEFAULT_MAX_PROPAGATION_DISTANCE
public static final double DEFAULT_MAX_PROPAGATION_DISTANCE- See Also:
-
DEFAULT_MAXIMUM_REF_DIST
public static final double DEFAULT_MAXIMUM_REF_DIST- See Also:
-
DEFAULT_RECEIVER_DIST
public static final double DEFAULT_RECEIVER_DIST- See Also:
-
DEFAULT_G
public static final double DEFAULT_G- See Also:
-
DEFAULT_G_BUILDING
public static final double DEFAULT_G_BUILDING- See Also:
-
YAW_DATABASE_FIELD
- See Also:
-
PITCH_DATABASE_FIELD
- See Also:
-
ROLL_DATABASE_FIELD
- See Also:
-
DIRECTIVITY_DATABASE_FIELD
- See Also:
-
GS_DATABASE_FIELD
- See Also:
-
receiversPk
-
sourcesPk
-
receivers
coordinate of receivers -
profileBuilder
Profile builder -
sourcesIndex
Source Index -
sourceGeometries
Sources geometries. Can be LINESTRING or POINT -
sourceOrientation
Source orientation for emission computation -
reflexionOrder
public int reflexionOrderMaximum reflexion order -
defaultGroundAttenuation
public double defaultGroundAttenuation -
lineSourceSpacingRatio
public double lineSourceSpacingRatiodictates the density of source points created from a line sound source; a higher value means more points and finer discretization sourcePointDistance = DistanceSourceReceiver / lineSourceSpacingRatio -
computeHorizontalDiffraction
public boolean computeHorizontalDiffractionCompute horizontal diffraction rays over vertical edges -
computeVerticalDiffraction
public boolean computeVerticalDiffractionTrue will compute vertical diffraction over horizontal edges -
maxSrcDist
public double maxSrcDistMaximum source distance -
maxRefDist
public double maxRefDistMaximum reflection wall distance from receiver to source line
-
-
Constructor Details
-
Scene
public Scene() -
Scene
-
-
Method Details
-
isBodyBarrier
public boolean isBodyBarrier() -
setBodyBarrier
public void setBodyBarrier(boolean bodyBarrier) -
addSource
public void addSource(org.locationtech.jts.geom.Geometry geom) Add the geometry of the source- Parameters:
geom-
-
addSource
Add geometry with additional attributes- Parameters:
pk- Unique source identifiergeom- Source geometry
-
addSource
Add geometry with additional attributes- Parameters:
pk- Unique source identifiergeom- Source geometryorientation- Additional attributes
-
addReceiver
public void addReceiver(org.locationtech.jts.geom.Coordinate... receiver) - Parameters:
receiver-
-
addReceiver
public void addReceiver(long pk, org.locationtech.jts.geom.Coordinate position) -
addReceiver
public void addReceiver(long pk, org.locationtech.jts.geom.Coordinate position, org.h2gis.utilities.SpatialResultSet rs) -
getReflexionOrder
public int getReflexionOrder() -
setReflexionOrder
public void setReflexionOrder(int reflexionOrder) -
setComputeHorizontalDiffraction
public void setComputeHorizontalDiffraction(boolean computeHorizontalDiffraction) -
setComputeVerticalDiffraction
public void setComputeVerticalDiffraction(boolean computeVerticalDiffraction) -
setDefaultGroundAttenuation
public void setDefaultGroundAttenuation(double gS) -
getCloseReceiverReflectionWallDistance
public double getCloseReceiverReflectionWallDistance() -
setCloseReceiverReflectionWallDistance
public void setCloseReceiverReflectionWallDistance(double closeReceiverReflectionWallDistance) -
clearSources
public void clearSources()
-