-
Field Summary
Fields
double
Wall height, if -1, use z coordinate.
org.locationtech.jts.geom.LineSegment
final int
Id or index of the source building or topographic triangle.
org.locationtech.jts.geom.Coordinate
org.locationtech.jts.geom.Coordinate
long
int
Fields inherited from class org.noise_planet.noisemodelling.pathfinder.profilebuilder.Obstruction
DEFAULT_G
-
Constructor Summary
Constructors
Constructor using start/end point and id.
Constructor using segment and id.
-
Method Summary
double
Retrieve the height of the wall.
org.locationtech.jts.geom.LineSegment
int
Retrieve the id or index of the source building or topographic triangle.
int
void
Database primary key of this wall or the building
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
-
originId
public final int originId
Id or index of the source building or topographic triangle.
-
primaryKey
public long primaryKey
-
height
public double height
Wall height, if -1, use z coordinate.
-
p0
public org.locationtech.jts.geom.Coordinate p0
-
p1
public org.locationtech.jts.geom.Coordinate p1
-
ls
public org.locationtech.jts.geom.LineSegment ls
-
processedWallIndex
public int processedWallIndex
-
Constructor Details
-
Wall
Constructor using segment and id.
- Parameters:
line - Segment of the wall.
originId - Id or index of the source building or topographic triangle.
-
Wall
Constructor using start/end point and id.
- Parameters:
p0 - Start point of the segment.
p1 - End point of the segment.
originId - Id or index of the source building or topographic triangle.
-
Method Details
-
setPrimaryKey
public Wall setPrimaryKey(long primaryKey)
Database primary key of this wall or the building
- Parameters:
primaryKey - primary key value
- Returns:
- this
-
getProcessedWallIndex
public int getProcessedWallIndex()
- Returns:
- Index of this wall in the ProfileBuild list
-
setProcessedWallIndex
public Wall setProcessedWallIndex(int processedWallIndex)
- Parameters:
processedWallIndex - Index of this wall in the ProfileBuild list
-
setHeight
public void setHeight(double height)
Sets the wall height.
- Parameters:
height - Wall height.
-
getLineSegment
public org.locationtech.jts.geom.LineSegment getLineSegment()
-
getOriginId
public int getOriginId()
Retrieve the id or index of the source building or topographic triangle.
- Returns:
- Id or index of the source building or topographic triangle.
-
getHeight
public double getHeight()
Retrieve the height of the wall.
- Returns:
- Height of the wall.
-