Class SceneWithEmission
java.lang.Object
org.noise_planet.noisemodelling.pathfinder.path.Scene
org.noise_planet.noisemodelling.propagation.SceneWithAttenuation
org.noise_planet.noisemodelling.jdbc.input.SceneWithEmission
Add emission information for each source in the computation scene
This is input data, not thread safe, never update anything here during propagation
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class SceneWithAttenuation
cnossosParametersPerPeriod, DEFAULT_GS, defaultCnossosParameters, directionAttributes, periodSet, sourceEmissionAttenuation, sourceGsFields inherited from class Scene
computeHorizontalDiffraction, computeVerticalDiffraction, DEFAULT_G, DEFAULT_G_BUILDING, DEFAULT_MAX_PROPAGATION_DISTANCE, DEFAULT_MAXIMUM_REF_DIST, DEFAULT_RECEIVER_DIST, defaultGroundAttenuation, DIRECTIVITY_DATABASE_FIELD, GS_DATABASE_FIELD, lineSourceSpacingRatio, maxRefDist, maxSrcDist, PITCH_DATABASE_FIELD, profileBuilder, receivers, receiversPk, reflexionOrder, ROLL_DATABASE_FIELD, sourceGeometries, sourceOrientation, sourcesIndex, sourcesPk, YAW_DATABASE_FIELD -
Constructor Summary
ConstructorsConstructorDescriptionSceneWithEmission(ProfileBuilder profileBuilder) SceneWithEmission(ProfileBuilder profileBuilder, SceneDatabaseInputSettings sceneDatabaseInputSettings) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSource(Long pk, org.locationtech.jts.geom.Geometry geom, org.h2gis.utilities.SpatialResultSet rs, Map<String, Integer> sourceFieldNames) Add geometry with additional attributesvoidaddSourceEmission(Long sourcePrimaryKey, String period, double[] wj) Link a source with a period and a spectrumvoidvoidvoidvoidvoidprocessTrafficFlowDEN(Long pk, org.h2gis.utilities.SpatialResultSet rs, Map<String, Integer> sourceFieldNames) Methods inherited from class SceneWithAttenuation
addSource, getSourceAttenuation, getSourceGs, isOmnidirectional, setDirectionAttributesMethods inherited from class Scene
addReceiver, addReceiver, addReceiver, addSource, addSource, addSource, getCloseReceiverReflectionWallDistance, getReflexionOrder, isBodyBarrier, setBodyBarrier, setCloseReceiverReflectionWallDistance, setComputeHorizontalDiffraction, setComputeVerticalDiffraction, setDefaultGroundAttenuation, setReflexionOrder
-
Field Details
-
wjSources
-
sceneDatabaseInputSettings
-
-
Constructor Details
-
SceneWithEmission
public SceneWithEmission(ProfileBuilder profileBuilder, SceneDatabaseInputSettings sceneDatabaseInputSettings) -
SceneWithEmission
-
SceneWithEmission
public SceneWithEmission()
-
-
Method Details
-
processTrafficFlowDEN
public void processTrafficFlowDEN(Long pk, org.h2gis.utilities.SpatialResultSet rs, Map<String, Integer> sourceFieldNames) throws SQLException- Throws:
SQLException
-
processTrafficFlow
public void processTrafficFlow(Long pk, ResultSet rs, Map<String, Integer> sourceFieldNames) throws SQLException- Parameters:
pk- Source primary keyrs- Emission source table IDSOURCE, PERIOD, LV, HV ..- Throws:
SQLException
-
processEmission
public void processEmission(Long pk, ResultSet rs, Map<String, Integer> sourceFieldNames) throws SQLException- Parameters:
pk- Source primary keyrs- Emission source table IDSOURCE, PERIOD, LV, HV ..- Throws:
SQLException
-
addSource
public void addSource(Long pk, org.locationtech.jts.geom.Geometry geom, org.h2gis.utilities.SpatialResultSet rs, Map<String, Integer> sourceFieldNames) throws SQLExceptionDescription copied from class:SceneWithAttenuationAdd geometry with additional attributes- Overrides:
addSourcein classSceneWithAttenuation- Parameters:
pk- Unique source identifiergeom- Source geometryrs- Additional attributes fetched from database- Throws:
SQLException
-
addSourceEmission
public void addSourceEmission(Long pk, ResultSet rs, Map<String, Integer> sourceFieldNames) throws SQLException- Throws:
SQLException
-
addSourceEmission
-
clearSources
public void clearSources()- Overrides:
clearSourcesin classSceneWithAttenuation
-