Class PointPath


  • public class PointPath
    extends Object
    • 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
      • obstacleZ

        public double obstacleZ
      • 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 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 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 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
      • 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)