org.osm2world.core.world.data
Interface WorldObjectWithOutline
- All Superinterfaces:
- WorldObject
- All Known Subinterfaces:
- TerrainBoundaryWorldObject
- All Known Implementing Classes:
- AbstractAreaWorldObject, AbstractNetworkWaySegmentWorldObject, BuildingModule.Building, JunctionNodeWorldObject, NetworkAreaWorldObject, RailwayModule.RailJunction, RoadModule.Road, RoadModule.RoadArea, RoadModule.RoadCrossingAtConnector, RoadModule.RoadJunction, TunnelModule.TunnelEntrance, VisibleConnectorNodeWorldObject, WaterModule.RiverJunction, WaterModule.Water, WaterModule.Waterway
public interface WorldObjectWithOutline
- extends WorldObject
world object that has a defined outline that can be used for purposes
such as cutting holes into the terrain (if this is instance of
TerrainBoundaryWorldObject
), cutting tunnels through buildings,
preventing bridge pillars from piercing through this WorldObject ...
getOutlinePolygon
PolygonXYZ getOutlinePolygon()
- returns a counterclockwise polygon defining the object's ground footprint.
- Returns:
- outline polygon; null if this world object doesn't cover any area