org.osm2world.core.map_data.data.overlaps
Class MapOverlapWA

Object
  extended by MapOverlap<MapWaySegment,MapArea>
      extended by MapOverlapWA

public class MapOverlapWA
extends MapOverlap<MapWaySegment,MapArea>

overlap between a MapWaySegment and a MapArea ("Way-Area"). The way either intersects with the area or is completely contained within the area.


Field Summary
 
Fields inherited from class MapOverlap
e1, e2, type
 
Constructor Summary
MapOverlapWA(MapWaySegment waySegment, MapArea area, MapOverlapType type)
           
 
Method Summary
 Collection<VectorXZ> getIntersectionPositions()
           
 MapWaySegment getOther(MapArea area)
           
 MapArea getOther(MapWaySegment waySegment)
           
 Collection<LineSegmentXZ> getOverlappedSegments()
           
 Collection<LineSegmentXZ> getSharedSegments()
           
 
Methods inherited from class MapOverlap
getOther, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapOverlapWA

public MapOverlapWA(MapWaySegment waySegment,
                    MapArea area,
                    MapOverlapType type)
Method Detail

getOther

public MapArea getOther(MapWaySegment waySegment)

getOther

public MapWaySegment getOther(MapArea area)

getIntersectionPositions

public Collection<VectorXZ> getIntersectionPositions()

getOverlappedSegments

public Collection<LineSegmentXZ> getOverlappedSegments()

getSharedSegments

public Collection<LineSegmentXZ> getSharedSegments()