mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-20 04:42:16 +03:00
321e7cd0ee
- Support this at the pathfinding level, when transforming v2->v1 - Adjust how the vehicle's body is rendered as it exits a driveway onto a farther lane No support yet for blocking any intermediate lanes; vehicles may clip through each other without any conflict. Planning to add that separately. Regenerating all scenarios and prebaked data... |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
geom
This crate contains primitive types used by A/B Street. It's unclear if other
apps will have any use for this crate. In some cases, geom
just wraps much
more polished APIs, like rust-geo
. In others, it has its own geometric
algorithms, but they likely have many bugs and make use-case-driven assumptions.
So, be warned if you use this.
Contents
Many of the types are geometric: Pt2D
, Ring
, Distance
, Line
,
InfiniteLine
, FindClosest
, Circle
, Angle
, LonLat
, Bounds
,
GPSBounds
, PolyLine
, Polygon
, Triangle
.
Some involve time: Time
, Duration
, Speed
.
And there's also a Percent
wrapper and a Histogram
.