java.lang.Object
org.noise_planet.noisemodelling.propagation.cnossos.PointPath

public class PointPath extends Object
  • Field Details

    • coordinate

      public org.locationtech.jts.geom.Coordinate coordinate
    • altitude

      public double altitude
    • alphaWall

      public List<Double> alphaWall
    • buildingId

      public int buildingId
    • wallId

      public int wallId
    • e

      public double e
    • orientation

      public Orientation orientation
    • obstacleZ

      public double obstacleZ
    • type

      public PointPath.POINT_TYPE type
    • bodyBarrier

      public boolean bodyBarrier
  • Constructor Details

    • PointPath

      public PointPath(org.locationtech.jts.geom.Coordinate coordinate, double altitude, List<Double> alphaWall, int buildingId, PointPath.POINT_TYPE type)
      parameters given by user
      Parameters:
      coordinate -
      altitude -
      alphaWall -
      buildingId - Building identifier -1 if there is no buildings
      type -
    • PointPath

      public PointPath(org.locationtech.jts.geom.Coordinate coordinate, double altitude, List<Double> alphaWall, PointPath.POINT_TYPE type)
      parameters given by user
      Parameters:
      coordinate -
      altitude -
      alphaWall -
      type -
    • PointPath

      public PointPath(org.locationtech.jts.geom.Coordinate coordinate, double altitude, PointPath.POINT_TYPE type)
      parameters given by user
      Parameters:
      coordinate -
      altitude -
      type -
    • PointPath

      public PointPath(org.locationtech.jts.geom.Coordinate coordinate, double altitude, double[] alphaWall, PointPath.POINT_TYPE type)
      parameters given by user
      Parameters:
      coordinate -
      altitude -
      alphaWall -
      type -
    • PointPath

      public PointPath()
  • Method Details

    • setObstacleZ

      public void setObstacleZ(double obstacleZ)
      Top obstacle altitude value in meters
      Parameters:
      obstacleZ -
    • getObstacleZ

      public double getObstacleZ()
      Returns:
      Top obstacle altitude value in meters
    • writeStream

      public void writeStream(DataOutputStream out) throws IOException
      Writes the content of this object into out.
      Parameters:
      out - the stream to write into
      Throws:
      IOException - if an I/O-error occurs
    • readStream

      public void readStream(DataInputStream in) throws IOException
      Reads the content of this object from out. All properties should be set to their default value or to the value read from the stream.
      Parameters:
      in - the stream to read
      Throws:
      IOException - if an I/O-error occurs
    • setType

      public void setType(PointPath.POINT_TYPE type)
    • setAlphaWall

      public void setAlphaWall(List<Double> alphaWall)
    • getBuildingId

      public int getBuildingId()
    • getWallId

      public int getWallId()
    • setBuildingId

      public void setBuildingId(int id)
    • setWallId

      public void setWallId(int id)
    • setCoordinate

      public void setCoordinate(org.locationtech.jts.geom.Coordinate coordinate)
    • toPointType

      public PointPath.POINT_TYPE toPointType(ProfileBuilder.IntersectionType intersectionType, PointPath.POINT_TYPE defaultPointType)