Class Path
java.lang.Object
org.noise_planet.noisemodelling.propagation.cnossos.Path
- Direct Known Subclasses:
CnossosPath
PropagationPath
- Author:
- Nicolas Fortin, Pierre Aumond
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.locationtech.jts.geom.LineStringasGeom()doublecomputeZr(SegmentPath segmentPath) doublecomputeZrPrime(SegmentPath segmentPath) Eq 2.5.19doublecomputeZsPrime(SegmentPath segmentPath) Eq 2.5.193D intersections points of the raydoublegetGs()booleanstatic org.locationtech.jts.geom.Coordinatestatic org.locationtech.jts.math.Vector3DvoidsetCutProfile(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 Details
-
FOOTER_RESERVED_SIZE
public static final int FOOTER_RESERVED_SIZE- See Also:
-
raySourceReceiverDirectivity
-
keepAbsorption
public boolean keepAbsorption
-
-
Constructor Details
-
Path
public Path() -
Path
-
Path
-
Path
-
-
Method Details
-
getCutPoints
3D intersections points of the ray- Returns:
-
getCutProfile
- Returns:
- Get vertical plane between source and receiver used to compute the propagation ray path attributes
-
setCutProfile
- Parameters:
cutProfile- vertical plane between source and receiver used to compute the propagation ray path attributes
-
getTimePeriod
- Returns:
- time period if relevant (day, evening, night or other parameters, use LDenConfig.TIME_PERIOD)
-
setTimePeriod
- Parameters:
timePeriod- time period if relevant (day, evening, night or other parameters, use LDenConfig.TIME_PERIOD)
-
getSourceOrientation
-
setSourceOrientation
-
getRaySourceReceiverDirectivity
-
setRaySourceReceiverDirectivity
-
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
-
getPointList
-
getSegmentList
-
getSRSegment
-
setPointList
-
setSegmentList
-
setSRSegment
-
isFavourable
public boolean isFavourable() -
setFavourable
public void setFavourable(boolean favourable) -
computeZr
-
computeZsPrime
Eq 2.5.19- Parameters:
segmentPath-- Returns:
-
computeZrPrime
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
- Parameters:
in-- Returns:
- Throws:
IOException
-