Class CutPointWall
- java.lang.Object
-
- org.noise_planet.noisemodelling.pathfinder.profilebuilder.CutPoint
-
- org.noise_planet.noisemodelling.pathfinder.profilebuilder.CutPointWall
-
- All Implemented Interfaces:
Cloneable,Comparable<CutPoint>
public class CutPointWall extends CutPoint
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCutPointWall.INTERSECTION_TYPEThis point encounter this kind of limit - We can enter or exit a polygon - pass a line (a wall without width)
-
Field Summary
Fields Modifier and Type Field Description CutPointWall.INTERSECTION_TYPEintersectionTypeintprocessedWallIndexObstacle index in the subdomainorg.locationtech.jts.geom.LineSegmentwallx,y,z coordinates of the top segment of the wall that intersects the vertical cut plane z is altitudeList<Double>wallAlphaWall absorption coefficient per frequency band.LongwallPkDatabase primary key value of the obstacle-
Fields inherited from class org.noise_planet.noisemodelling.pathfinder.profilebuilder.CutPoint
coordinate, groundCoefficient, zGround
-
-
Constructor Summary
Constructors Constructor Description CutPointWall()Empty constructor for deserializationCutPointWall(int processedWallIndex, org.locationtech.jts.geom.Coordinate intersection, org.locationtech.jts.geom.LineSegment wallSegment, List<Double> wallAlpha)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]alphaAsArray()CutPointWallsetPk(long pk)StringtoString()-
Methods inherited from class org.noise_planet.noisemodelling.pathfinder.profilebuilder.CutPoint
clone, 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 intersects the vertical cut plane z is altitude
-
processedWallIndex
public int processedWallIndex
Obstacle index in the subdomain- See Also:
ProfileBuilder.processedWalls
-
intersectionType
public CutPointWall.INTERSECTION_TYPE intersectionType
-
wallPk
public Long wallPk
Database primary key value of the obstacle
-
-
Method Detail
-
setPk
public CutPointWall setPk(long pk)
- Parameters:
pk- External primary key value, will be updated if >= 0- Returns:
- this
-
alphaAsArray
public double[] alphaAsArray()
- Returns:
- Convert alpha values to a java array
-
-