Class CutPointReflection
- java.lang.Object
-
- org.noise_planet.noisemodelling.pathfinder.profilebuilder.CutPoint
-
- org.noise_planet.noisemodelling.pathfinder.profilebuilder.CutPointReflection
-
- All Implemented Interfaces:
Comparable<CutPoint>
public class CutPointReflection extends CutPoint
-
-
Field Summary
Fields Modifier and Type Field Description org.locationtech.jts.geom.LineSegment
wall
x,y,z coordinates of the top segment of the wall that reflect the vertical cut plane z is altitudeList<Double>
wallAlpha
Wall absorption coefficient per frequency band.Long
wallPk
Unique external identifier of the wall.-
Fields inherited from class org.noise_planet.noisemodelling.pathfinder.profilebuilder.CutPoint
coordinate, groundCoefficient, zGround
-
-
Constructor Summary
Constructors Constructor Description CutPointReflection()
Empty constructor for deserializationCutPointReflection(CutPoint cutPoint, org.locationtech.jts.geom.LineSegment wall, List<Double> wallAlpha)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]
alphaAsArray()
CutPointReflection
setPk(long pk)
void
setWallAlpha(List<Double> wallAlpha)
Sets the wall alpha.String
toString()
-
Methods inherited from class org.noise_planet.noisemodelling.pathfinder.profilebuilder.CutPoint
compareTo, getCoordinate, getGroundCoefficient, getzGround, setCoordinate, setGroundCoefficient, setZGround
-
-
-
-
Field Detail
-
wall
public org.locationtech.jts.geom.LineSegment wall
x,y,z coordinates of the top segment of the wall that reflect the vertical cut plane z is altitude
-
wallPk
public Long wallPk
Unique external identifier of the wall. Could be the primary key of the related building in the database
-
-
Method Detail
-
setPk
public CutPointReflection setPk(long pk)
-
alphaAsArray
public double[] alphaAsArray()
- Returns:
- Convert alpha values to a java array
-
setWallAlpha
public void setWallAlpha(List<Double> wallAlpha)
Sets the wall alpha.- Parameters:
wallAlpha
- The wall alpha.
-
-