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 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

      public static final String YAW_DATABASE_FIELD
      See Also:
    • PITCH_DATABASE_FIELD

      public static final String PITCH_DATABASE_FIELD
      See Also:
    • ROLL_DATABASE_FIELD

      public static final String ROLL_DATABASE_FIELD
      See Also:
    • DIRECTIVITY_DATABASE_FIELD

      public static final String DIRECTIVITY_DATABASE_FIELD
      See Also:
    • GS_DATABASE_FIELD

      public static final String GS_DATABASE_FIELD
      See Also:
    • receiversPk

      public List<Long> receiversPk
    • sourcesPk

      public List<Long> sourcesPk
    • 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
    • lineSourceSpacingRatio

      public double lineSourceSpacingRatio
      dictates 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 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 Details

    • Scene

      public Scene()
    • Scene

      public Scene(ProfileBuilder profileBuilder)
  • 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

      public void addSource(Long pk, org.locationtech.jts.geom.Geometry geom)
      Add geometry with additional attributes
      Parameters:
      pk - Unique source identifier
      geom - 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 identifier
      geom - Source geometry
      orientation - 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()