org.osm2world.core.map_data.data.overlaps
public class MapOverlapWA extends MapOverlap<MapWaySegment,MapArea>
MapWaySegment
and a MapArea
("Way-Area").
The way either intersects with the area
or is completely contained within the area.e1, e2, type
Constructor and Description |
---|
MapOverlapWA(MapWaySegment waySegment,
MapArea area,
MapOverlapType type,
List<VectorXZ> intersectionPositions,
List<MapAreaSegment> intersectingAreaSegments) |
Modifier and Type | Method and Description |
---|---|
List<MapAreaSegment> |
getIntersectingAreaSegments()
same order as
getIntersectionPositions() |
List<VectorXZ> |
getIntersectionPositions()
same order as
getIntersectingAreaSegments() |
MapWaySegment |
getOther(MapArea area) |
MapArea |
getOther(MapWaySegment waySegment) |
Collection<LineSegmentXZ> |
getOverlappedSegments() |
Collection<LineSegmentXZ> |
getSharedSegments() |
getOther, toString
public MapOverlapWA(MapWaySegment waySegment, MapArea area, MapOverlapType type, List<VectorXZ> intersectionPositions, List<MapAreaSegment> intersectingAreaSegments)
public MapArea getOther(MapWaySegment waySegment)
public MapWaySegment getOther(MapArea area)
public List<VectorXZ> getIntersectionPositions()
getIntersectingAreaSegments()
public List<MapAreaSegment> getIntersectingAreaSegments()
getIntersectionPositions()
public Collection<LineSegmentXZ> getOverlappedSegments()
public Collection<LineSegmentXZ> getSharedSegments()