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

Object
  extended by MapOverlap<MapWaySegment,MapWaySegment>
      extended by MapIntersectionWW

public class MapIntersectionWW
extends MapOverlap<MapWaySegment,MapWaySegment>

intersection between two MapWaySegments ("Way-Way")


Field Summary
 VectorXZ pos
           
 
Fields inherited from class MapOverlap
e1, e2, type
 
Constructor Summary
MapIntersectionWW(MapWaySegment line1, MapWaySegment line2, VectorXZ pos)
           
 
Method Summary
 MapWaySegment getOther(MapElement line)
          takes one of the intersecting MapWaySegments and returns the other one
 
Methods inherited from class MapOverlap
toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pos

public final VectorXZ pos
Constructor Detail

MapIntersectionWW

public MapIntersectionWW(MapWaySegment line1,
                         MapWaySegment line2,
                         VectorXZ pos)
Method Detail

getOther

public MapWaySegment getOther(MapElement line)
takes one of the intersecting MapWaySegments and returns the other one

Overrides:
getOther in class MapOverlap<MapWaySegment,MapWaySegment>