Class Wall


public class Wall extends LineObstruction
  • Field Details

    • type

      Type of the wall: Building if coming from a polygon building or Wall if coming from a linestring definition
    • primaryKey

      public long primaryKey
  • Constructor Details

    • Wall

      public Wall(org.locationtech.jts.geom.LineSegment line, int originId, ProfileBuilder.IntersectionType type)
      Constructor using a lineSegment, id and relative height.
      Parameters:
      line - Segment of the wall.
      originId - Id or index of the source building or topographic triangle.
    • Wall

      public Wall(org.locationtech.jts.geom.Coordinate p0, org.locationtech.jts.geom.Coordinate p1, int originId, ProfileBuilder.IntersectionType type)
      Constructor using start/end point and id.
      Parameters:
      p0 - Start point of the segment.
      p1 - End point of the segment.
      originId - Id or index of the source building or topographic triangle.
  • Method Details

    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Database primary key of this wall or the building
      Parameters:
      primaryKey - primary key value
    • getType