2018-09-16 19:07:36 +03:00
|
|
|
mod area;
|
2018-06-25 17:53:39 +03:00
|
|
|
mod building;
|
2018-09-16 04:33:16 +03:00
|
|
|
mod bus_stop;
|
2019-11-13 03:08:39 +03:00
|
|
|
pub mod connectivity;
|
2019-03-19 02:05:49 +03:00
|
|
|
mod edits;
|
2018-06-25 17:53:39 +03:00
|
|
|
mod intersection;
|
2018-07-24 05:31:15 +03:00
|
|
|
mod lane;
|
2018-06-27 23:17:15 +03:00
|
|
|
mod make;
|
2018-06-25 17:53:39 +03:00
|
|
|
mod map;
|
2019-09-18 03:14:09 +03:00
|
|
|
pub mod osm;
|
2018-07-09 00:04:19 +03:00
|
|
|
mod pathfind;
|
2019-09-24 01:00:55 +03:00
|
|
|
pub mod raw;
|
2018-07-24 17:28:11 +03:00
|
|
|
mod road;
|
2018-11-30 23:36:27 +03:00
|
|
|
mod stop_signs;
|
|
|
|
mod traffic_signals;
|
2018-10-09 23:00:10 +03:00
|
|
|
mod traversable;
|
2018-06-25 17:53:39 +03:00
|
|
|
mod turn;
|
2018-06-25 02:55:19 +03:00
|
|
|
|
2018-12-06 21:18:20 +03:00
|
|
|
pub use crate::area::{Area, AreaID, AreaType};
|
2019-08-25 23:19:35 +03:00
|
|
|
pub use crate::building::{Building, BuildingID, FrontPath, OffstreetParking};
|
2018-12-06 21:18:20 +03:00
|
|
|
pub use crate::bus_stop::{BusRoute, BusRouteID, BusStop, BusStopID};
|
2020-05-06 21:45:42 +03:00
|
|
|
pub use crate::edits::{EditCmd, EditEffects, EditIntersection, MapEdits, PermanentMapEdits};
|
2018-12-06 21:18:20 +03:00
|
|
|
pub use crate::intersection::{Intersection, IntersectionID, IntersectionType};
|
|
|
|
pub use crate::lane::{Lane, LaneID, LaneType, PARKING_SPOT_LENGTH};
|
|
|
|
pub use crate::make::RoadSpec;
|
|
|
|
pub use crate::map::Map;
|
2020-05-19 03:44:46 +03:00
|
|
|
pub use crate::pathfind::uber_turns::{IntersectionCluster, UberTurn};
|
2019-11-15 06:18:22 +03:00
|
|
|
pub use crate::pathfind::{Path, PathConstraints, PathRequest, PathStep};
|
2019-02-21 03:17:30 +03:00
|
|
|
pub use crate::road::{DirectedRoadID, Road, RoadID};
|
2019-05-12 00:15:04 +03:00
|
|
|
pub use crate::stop_signs::{ControlStopSign, RoadWithStopSign};
|
2020-03-11 02:41:37 +03:00
|
|
|
pub use crate::traffic_signals::{ControlTrafficSignal, Phase};
|
2018-12-06 21:18:20 +03:00
|
|
|
pub use crate::traversable::{Position, Traversable};
|
2019-11-22 22:36:50 +03:00
|
|
|
pub use crate::turn::{Turn, TurnGroup, TurnGroupID, TurnID, TurnPriority, TurnType};
|
2018-11-13 00:46:23 +03:00
|
|
|
use abstutil::Cloneable;
|
2019-01-31 02:10:05 +03:00
|
|
|
use geom::Distance;
|
2018-09-19 00:19:39 +03:00
|
|
|
|
2020-01-29 04:26:14 +03:00
|
|
|
// TODO Minimize uses of these!
|
|
|
|
pub const NORMAL_LANE_THICKNESS: Distance = Distance::const_meters(2.5);
|
|
|
|
pub const SIDEWALK_THICKNESS: Distance = Distance::const_meters(1.5);
|
2018-11-13 00:46:23 +03:00
|
|
|
|
2019-07-08 06:13:46 +03:00
|
|
|
impl Cloneable for BusRouteID {}
|
2018-12-05 02:05:53 +03:00
|
|
|
impl Cloneable for ControlTrafficSignal {}
|
2018-11-13 00:46:23 +03:00
|
|
|
impl Cloneable for IntersectionID {}
|
2019-06-08 00:59:23 +03:00
|
|
|
impl Cloneable for LaneType {}
|
2019-03-21 03:12:55 +03:00
|
|
|
impl Cloneable for MapEdits {}
|
2019-09-25 04:58:06 +03:00
|
|
|
impl Cloneable for raw::RestrictionType {}
|