Class AttenuationVisitor
java.lang.Object
org.noise_planet.noisemodelling.propagation.AttenuationVisitor
- All Implemented Interfaces:
CutPlaneVisitor
Receive vertical cut plane, compute the attenuation corresponding to this plane
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.noise_planet.noisemodelling.pathfinder.CutPlaneVisitor
CutPlaneVisitor.PathSearchStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidProcess Cnossos propagation path to compute attenuationvoidfinalizeReceiver(PathFinder.ReceiverPointInfo receiver) No more propagation paths will be pushed for this receiver identifieronNewCutPlane(CutProfile cutProfile) A new vertical profile between a receiver and a source has been foundvoidstartReceiver(PathFinder.ReceiverPointInfo receiver, Collection<PathFinder.SourcePointInfo> sourceList, AtomicInteger cutProfileCount) Called before looking for vertical cut planes between the receiver and the sources.
-
Field Details
-
multiThreadParent
-
receiverAttenuationLevels
-
pathParameters
-
keepRays
public boolean keepRays
-
-
Constructor Details
-
AttenuationVisitor
-
-
Method Details
-
onNewCutPlane
Description copied from interface:CutPlaneVisitorA new vertical profile between a receiver and a source has been found- Specified by:
onNewCutPlanein interfaceCutPlaneVisitor- Parameters:
cutProfile- vertical profile- Returns:
- Will skip or not the next processing depending on this value.
-
startReceiver
public void startReceiver(PathFinder.ReceiverPointInfo receiver, Collection<PathFinder.SourcePointInfo> sourceList, AtomicInteger cutProfileCount) Description copied from interface:CutPlaneVisitorCalled before looking for vertical cut planes between the receiver and the sources.- Specified by:
startReceiverin interfaceCutPlaneVisitor- Parameters:
receiver- Receiver informationsourceList- All sources in the range of this receiver sorted by the distance from the receivercutProfileCount-
-
computeAttenuation
Process Cnossos propagation path to compute attenuation- Parameters:
path- Propagation path result
-
finalizeReceiver
No more propagation paths will be pushed for this receiver identifier- Specified by:
finalizeReceiverin interfaceCutPlaneVisitor- Parameters:
receiver-
-