Class LineObstruction
java.lang.Object
org.noise_planet.noisemodelling.pathfinder.profilebuilder.Obstruction
org.noise_planet.noisemodelling.pathfinder.profilebuilder.LineObstruction
- Direct Known Subclasses:
GroundLine, Wall
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.locationtech.jts.geom.LineSegmentintId or index of the source building or topographic triangle.intFields inherited from class Obstruction
DEFAULT_G -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.locationtech.jts.geom.LineSegmentintRetrieve the id or index of the source building or topographic triangle.intorg.locationtech.jts.geom.Coordinatep0()org.locationtech.jts.geom.Coordinatep1()setProcessedObstructionIndex(int processedObstructionIndex) Methods inherited from class Obstruction
copyAlphas, getAlphas, getG, initialize, setAlpha, setG
-
Field Details
-
line
public org.locationtech.jts.geom.LineSegment line -
originId
public int originIdId or index of the source building or topographic triangle. -
processedObstructionIndex
public int processedObstructionIndex
-
-
Constructor Details
-
LineObstruction
public LineObstruction()
-
-
Method Details
-
getLineSegment
public org.locationtech.jts.geom.LineSegment getLineSegment() -
p0
public org.locationtech.jts.geom.Coordinate p0() -
p1
public org.locationtech.jts.geom.Coordinate p1() -
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.
-
getProcessedObstructionIndex
public int getProcessedObstructionIndex()- Returns:
- Index of this wall in the ProfileBuild list
-
setProcessedObstructionIndex
- Parameters:
processedObstructionIndex- Index of this wall in the ProfileBuild list
-