Class Path
- java.lang.Object
-
- org.noise_planet.noisemodelling.propagation.cnossos.Path
-
- Direct Known Subclasses:
CnossosPath
public class Path extends Object
PropagationPath- Author:
- Nicolas Fortin, Pierre Aumond
-
-
Field Summary
Fields Modifier and Type Field Description static intFOOTER_RESERVED_SIZEbooleankeepAbsorptionOrientationraySourceReceiverDirectivity
-
Constructor Summary
Constructors Constructor Description Path()Path(List<SegmentPath> segmentList)Path(CutProfile cutProfile)Path(Path other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.locationtech.jts.geom.LineStringasGeom()doublecomputeZr(SegmentPath segmentPath)doublecomputeZrPrime(SegmentPath segmentPath)Eq 2.5.19doublecomputeZsPrime(SegmentPath segmentPath)Eq 2.5.19List<CutPoint>getCutPoints()3D intersections points of the rayCutProfilegetCutProfile()doublegetGs()List<PointPath>getPointList()OrientationgetRaySourceReceiverDirectivity()List<SegmentPath>getSegmentList()OrientationgetSourceOrientation()SegmentPathgetSRSegment()StringgetTimePeriod()booleanisFavourable()static org.locationtech.jts.geom.CoordinatereadCoordinate(DataInputStream in)static org.locationtech.jts.math.Vector3DreadVector(DataInputStream in)voidsetCutProfile(CutProfile cutProfile)voidsetFavourable(boolean favourable)voidsetGs(double gs)voidsetPointList(List<PointPath> pointList)voidsetRaySourceReceiverDirectivity(Orientation raySourceReceiverDirectivity)voidsetSegmentList(List<SegmentPath> segmentList)voidsetSourceOrientation(Orientation sourceOrientation)voidsetSRSegment(SegmentPath srSegment)voidsetTimePeriod(String timePeriod)static voidwriteCoordinate(DataOutputStream out, org.locationtech.jts.geom.Coordinate p)static voidwriteVector(DataOutputStream out, org.locationtech.jts.math.Vector3D p)
-
-
-
Field Detail
-
FOOTER_RESERVED_SIZE
public static final int FOOTER_RESERVED_SIZE
- See Also:
- Constant Field Values
-
raySourceReceiverDirectivity
public Orientation raySourceReceiverDirectivity
-
keepAbsorption
public boolean keepAbsorption
-
-
Constructor Detail
-
Path
public Path()
-
Path
public Path(CutProfile cutProfile)
-
Path
public Path(Path other)
-
Path
public Path(List<SegmentPath> segmentList)
-
-
Method Detail
-
getCutProfile
public CutProfile getCutProfile()
- Returns:
- Get vertical plane between source and receiver used to compute the propagation ray path attributes
-
setCutProfile
public void setCutProfile(CutProfile cutProfile)
- Parameters:
cutProfile- vertical plane between source and receiver used to compute the propagation ray path attributes
-
getTimePeriod
public String getTimePeriod()
- Returns:
- time period if relevant (day, evening, night or other parameters, use LDenConfig.TIME_PERIOD)
-
setTimePeriod
public void setTimePeriod(String timePeriod)
- Parameters:
timePeriod- time period if relevant (day, evening, night or other parameters, use LDenConfig.TIME_PERIOD)
-
getSourceOrientation
public Orientation getSourceOrientation()
-
setSourceOrientation
public void setSourceOrientation(Orientation sourceOrientation)
-
getRaySourceReceiverDirectivity
public Orientation getRaySourceReceiverDirectivity()
-
setRaySourceReceiverDirectivity
public void setRaySourceReceiverDirectivity(Orientation raySourceReceiverDirectivity)
-
getGs
public double getGs()
- Returns:
- Ground factor of the source area. Gs=0 for road platforms, slab tracks. Gs=1 for rail tracks on ballast
-
setGs
public void setGs(double gs)
-
asGeom
public org.locationtech.jts.geom.LineString asGeom()
- Returns:
- Propagation path as a geometry object
-
getSegmentList
public List<SegmentPath> getSegmentList()
-
getSRSegment
public SegmentPath getSRSegment()
-
setSegmentList
public void setSegmentList(List<SegmentPath> segmentList)
-
setSRSegment
public void setSRSegment(SegmentPath srSegment)
-
isFavourable
public boolean isFavourable()
-
setFavourable
public void setFavourable(boolean favourable)
-
computeZr
public double computeZr(SegmentPath segmentPath)
-
computeZsPrime
public double computeZsPrime(SegmentPath segmentPath)
Eq 2.5.19- Parameters:
segmentPath-- Returns:
-
computeZrPrime
public double computeZrPrime(SegmentPath segmentPath)
Eq 2.5.19- Parameters:
segmentPath-- Returns:
-
writeCoordinate
public static void writeCoordinate(DataOutputStream out, org.locationtech.jts.geom.Coordinate p) throws IOException
- Parameters:
out-p-- Throws:
IOException
-
readCoordinate
public static org.locationtech.jts.geom.Coordinate readCoordinate(DataInputStream in) throws IOException
- Parameters:
in-- Returns:
- Throws:
IOException
-
writeVector
public static void writeVector(DataOutputStream out, org.locationtech.jts.math.Vector3D p) throws IOException
- Parameters:
out-p-- Throws:
IOException
-
readVector
public static org.locationtech.jts.math.Vector3D readVector(DataInputStream in) throws IOException
- Parameters:
in-- Returns:
- Throws:
IOException
-
-