Class LineObstruction

java.lang.Object
org.noise_planet.noisemodelling.pathfinder.profilebuilder.Obstruction
org.noise_planet.noisemodelling.pathfinder.profilebuilder.LineObstruction
Direct Known Subclasses:
GroundLine, Wall

public class LineObstruction extends Obstruction
  • Field Details

    • line

      public org.locationtech.jts.geom.LineSegment line
    • originId

      public int originId
      Id 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

      public LineObstruction setProcessedObstructionIndex(int processedObstructionIndex)
      Parameters:
      processedObstructionIndex - Index of this wall in the ProfileBuild list