Class Scene
- java.lang.Object
-
- org.noise_planet.noisemodelling.pathfinder.path.Scene
-
- Direct Known Subclasses:
SceneWithAttenuation
public class Scene extends Object
Data input for a propagation process (Sub domain generated by ReceiverGrideNoiseMapLoader).- Author:
- Nicolas Fortin, Pierre Aumond, Adrien Le Bellec
-
-
Field Summary
Fields Modifier and Type Field Description booleancomputeHorizontalDiffractionCompute horizontal diffraction rays over vertical edgesbooleancomputeVerticalDiffractionTrue will compute vertical diffraction over horizontal edgesstatic doubleDEFAULT_Gstatic doubleDEFAULT_G_BUILDINGstatic doubleDEFAULT_MAX_PROPAGATION_DISTANCEstatic doubleDEFAULT_MAXIMUM_REF_DISTstatic doubleDEFAULT_RECEIVER_DISTdoubledefaultGroundAttenuationstatic StringDIRECTIVITY_DATABASE_FIELDstatic StringGS_DATABASE_FIELDdoublemaxRefDistMaximum reflection wall distance from receiver to source linedoublemaxSrcDistMaximum source distancestatic StringPITCH_DATABASE_FIELDProfileBuilderprofileBuilderProfile builderList<org.locationtech.jts.geom.Coordinate>receiverscoordinate of receiversList<Long>receiversPkintreflexionOrderMaximum reflexion orderstatic StringROLL_DATABASE_FIELDList<org.locationtech.jts.geom.Geometry>sourceGeometriesSources geometries.Map<Long,Orientation>sourceOrientationSource orientation for emission computationQueryGeometryStructuresourcesIndexSource IndexList<Long>sourcesPkstatic StringYAW_DATABASE_FIELD
-
Constructor Summary
Constructors Constructor Description Scene()Scene(ProfileBuilder profileBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddReceiver(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)voidaddSource(Long pk, org.locationtech.jts.geom.Geometry geom)Add 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 sourcevoidclearSources()intgetReflexionOrder()booleanisBodyBarrier()voidsetBodyBarrier(boolean bodyBarrier)voidsetComputeHorizontalDiffraction(boolean computeHorizontalDiffraction)voidsetComputeVerticalDiffraction(boolean computeVerticalDiffraction)voidsetDefaultGroundAttenuation(double gS)voidsetReflexionOrder(int reflexionOrder)voidsetSources(List<org.locationtech.jts.geom.Geometry> sourceGeometries)Replace the sources by the given list
-
-
-
Field Detail
-
DEFAULT_MAX_PROPAGATION_DISTANCE
public static final double DEFAULT_MAX_PROPAGATION_DISTANCE
- See Also:
- Constant Field Values
-
DEFAULT_MAXIMUM_REF_DIST
public static final double DEFAULT_MAXIMUM_REF_DIST
- See Also:
- Constant Field Values
-
DEFAULT_RECEIVER_DIST
public static final double DEFAULT_RECEIVER_DIST
- See Also:
- Constant Field Values
-
DEFAULT_G
public static final double DEFAULT_G
- See Also:
- Constant Field Values
-
DEFAULT_G_BUILDING
public static final double DEFAULT_G_BUILDING
- See Also:
- Constant Field Values
-
YAW_DATABASE_FIELD
public static final String YAW_DATABASE_FIELD
- See Also:
- Constant Field Values
-
PITCH_DATABASE_FIELD
public static final String PITCH_DATABASE_FIELD
- See Also:
- Constant Field Values
-
ROLL_DATABASE_FIELD
public static final String ROLL_DATABASE_FIELD
- See Also:
- Constant Field Values
-
DIRECTIVITY_DATABASE_FIELD
public static final String DIRECTIVITY_DATABASE_FIELD
- See Also:
- Constant Field Values
-
GS_DATABASE_FIELD
public static final String GS_DATABASE_FIELD
- See Also:
- Constant Field Values
-
receivers
public List<org.locationtech.jts.geom.Coordinate> receivers
coordinate of receivers
-
profileBuilder
public ProfileBuilder profileBuilder
Profile builder
-
sourcesIndex
public QueryGeometryStructure sourcesIndex
Source Index
-
sourceGeometries
public List<org.locationtech.jts.geom.Geometry> sourceGeometries
Sources geometries. Can be LINESTRING or POINT
-
sourceOrientation
public Map<Long,Orientation> sourceOrientation
Source orientation for emission computation
-
reflexionOrder
public int reflexionOrder
Maximum reflexion order
-
defaultGroundAttenuation
public double defaultGroundAttenuation
-
computeHorizontalDiffraction
public boolean computeHorizontalDiffraction
Compute horizontal diffraction rays over vertical edges
-
computeVerticalDiffraction
public boolean computeVerticalDiffraction
True will compute vertical diffraction over horizontal edges
-
maxSrcDist
public double maxSrcDist
Maximum source distance
-
maxRefDist
public double maxRefDist
Maximum reflection wall distance from receiver to source line
-
-
Constructor Detail
-
Scene
public Scene()
-
Scene
public Scene(ProfileBuilder profileBuilder)
-
-
Method Detail
-
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
public void addSource(Long pk, org.locationtech.jts.geom.Geometry geom)
Add geometry with additional attributes- Parameters:
pk- Unique source identifiergeom- Source geometry
-
addSource
public void addSource(Long pk, org.locationtech.jts.geom.Geometry geom, Orientation orientation)
Add geometry with additional attributes- Parameters:
pk- Unique source identifiergeom- Source geometryorientation- Additional attributes
-
setSources
public void setSources(List<org.locationtech.jts.geom.Geometry> sourceGeometries)
Replace the sources by the given list- Parameters:
sourceGeometries-
-
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)
-
clearSources
public void clearSources()
-
-