Class PointPath
java.lang.Object
org.noise_planet.noisemodelling.propagation.cnossos.PointPath
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptiondoublebooleanintorg.locationtech.jts.geom.Coordinatedoubledoubleint -
Constructor Summary
ConstructorsConstructorDescriptionPointPath(org.locationtech.jts.geom.Coordinate coordinate, double altitude, double[] alphaWall, PointPath.POINT_TYPE type) parameters given by userPointPath(org.locationtech.jts.geom.Coordinate coordinate, double altitude, List<Double> alphaWall, int buildingId, PointPath.POINT_TYPE type) parameters given by userPointPath(org.locationtech.jts.geom.Coordinate coordinate, double altitude, List<Double> alphaWall, PointPath.POINT_TYPE type) parameters given by userPointPath(org.locationtech.jts.geom.Coordinate coordinate, double altitude, PointPath.POINT_TYPE type) parameters given by user -
Method Summary
Modifier and TypeMethodDescriptionintdoubleintvoidReads the content of this object fromout.voidsetAlphaWall(List<Double> alphaWall) voidsetBuildingId(int id) voidsetCoordinate(org.locationtech.jts.geom.Coordinate coordinate) voidsetObstacleZ(double obstacleZ) Top obstacle altitude value in metersvoidsetType(PointPath.POINT_TYPE type) voidsetWallId(int id) toPointType(ProfileBuilder.IntersectionType intersectionType, PointPath.POINT_TYPE defaultPointType) voidWrites the content of this object intoout.
-
Field Details
-
coordinate
public org.locationtech.jts.geom.Coordinate coordinate -
altitude
public double altitude -
alphaWall
-
buildingId
public int buildingId -
wallId
public int wallId -
e
public double e -
orientation
-
obstacleZ
public double obstacleZ -
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 buildingstype-
-
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
Writes the content of this object intoout.- Parameters:
out- the stream to write into- Throws:
IOException- if an I/O-error occurs
-
readStream
Reads the content of this object fromout. 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
-
setAlphaWall
-
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)
-