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 int
FOOTER_RESERVED_SIZE
boolean
keepAbsorption
Orientation
raySourceReceiverDirectivity
-
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.LineString
asGeom()
double
computeZr(SegmentPath segmentPath)
double
computeZrPrime(SegmentPath segmentPath)
Eq 2.5.19double
computeZsPrime(SegmentPath segmentPath)
Eq 2.5.19List<CutPoint>
getCutPoints()
3D intersections points of the rayCutProfile
getCutProfile()
double
getGs()
List<PointPath>
getPointList()
Orientation
getRaySourceReceiverDirectivity()
List<SegmentPath>
getSegmentList()
Orientation
getSourceOrientation()
SegmentPath
getSRSegment()
String
getTimePeriod()
boolean
isFavorable()
static org.locationtech.jts.geom.Coordinate
readCoordinate(DataInputStream in)
static org.locationtech.jts.math.Vector3D
readVector(DataInputStream in)
void
setCutProfile(CutProfile cutProfile)
void
setFavorable(boolean favorable)
void
setGs(double gs)
void
setPointList(List<PointPath> pointList)
void
setRaySourceReceiverDirectivity(Orientation raySourceReceiverDirectivity)
void
setSegmentList(List<SegmentPath> segmentList)
void
setSourceOrientation(Orientation sourceOrientation)
void
setSRSegment(SegmentPath srSegment)
void
setTimePeriod(String timePeriod)
static void
writeCoordinate(DataOutputStream out, org.locationtech.jts.geom.Coordinate p)
static void
writeVector(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)
-
isFavorable
public boolean isFavorable()
-
setFavorable
public void setFavorable(boolean favorable)
-
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
-
-