org.osm2world.core.map_data.data.overlaps
Class MapOverlap<T1 extends MapElement,T2 extends MapElement>

Object
  extended by MapOverlap<T1,T2>
Direct Known Subclasses:
MapIntersectionWW, MapOverlapAA, MapOverlapWA

public abstract class MapOverlap<T1 extends MapElement,T2 extends MapElement>
extends Object

supertype for intersections and inclusions between two MapElements


Field Summary
 T1 e1
           
 T2 e2
           
 MapOverlapType type
           
 
Constructor Summary
MapOverlap(T1 e1, T2 e2, MapOverlapType type)
           
 
Method Summary
 MapElement getOther(MapElement element)
          takes one of the MapWaySegments that participate in this overlap and returns the other one
 String toString()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

e1

public final T1 extends MapElement e1

e2

public final T2 extends MapElement e2

type

public final MapOverlapType type
Constructor Detail

MapOverlap

public MapOverlap(T1 e1,
                  T2 e2,
                  MapOverlapType type)
Method Detail

getOther

public MapElement getOther(MapElement element)
takes one of the MapWaySegments that participate in this overlap and returns the other one


toString

public String toString()
Overrides:
toString in class Object