Class PointPath
- java.lang.Object
-
- org.noise_planet.noisemodelling.propagation.cnossos.PointPath
-
public class PointPath extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PointPath.POINT_TYPE
-
Field Summary
Fields Modifier and Type Field Description List<Double>
alphaWall
double
altitude
boolean
bodyBarrier
int
buildingId
org.locationtech.jts.geom.Coordinate
coordinate
double
e
double
obstacleZ
Orientation
orientation
PointPath.POINT_TYPE
type
int
wallId
-
Constructor Summary
Constructors Constructor Description PointPath()
PointPath(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBuildingId()
double
getObstacleZ()
int
getWallId()
void
readStream(DataInputStream in)
Reads the content of this object fromout
.void
setAlphaWall(List<Double> alphaWall)
void
setBuildingId(int id)
void
setCoordinate(org.locationtech.jts.geom.Coordinate coordinate)
void
setObstacleZ(double obstacleZ)
Top obstacle altitude value in metersvoid
setType(PointPath.POINT_TYPE type)
void
setWallId(int id)
PointPath.POINT_TYPE
toPointType(ProfileBuilder.IntersectionType intersectionType, PointPath.POINT_TYPE defaultPointType)
void
writeStream(DataOutputStream out)
Writes the content of this object intoout
.
-
-
-
Field Detail
-
coordinate
public org.locationtech.jts.geom.Coordinate coordinate
-
altitude
public double altitude
-
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 Detail
-
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 Detail
-
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 intoout
.- 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 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
public void setType(PointPath.POINT_TYPE type)
-
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)
-
-