abstreet/geom
Dustin Carlino 624a7b0d58 Begin a radical simplification of the LTN tool's color scheme, based on
generous advice from Duncan Geere.   #911

- Remove most color from the basemap, mimicking Mapbox light
- Stop drawing cells as colored areas. Just draw the thick boundary
  between adjacent cells, showing that they're separated.

The previous behavior with colored cell areas is still available as an
advanced option, but disabled by default.
2022-07-14 12:26:16 +01:00
..
src Begin a radical simplification of the LTN tool's color scheme, based on 2022-07-14 12:26:16 +01:00
Cargo.toml Optional: rely on new default f64 type for geo-types 2022-06-24 18:13:28 -05:00
README.md Document as much of geom as I can before my battery dies. And a mechanical API changes, Angle::new_degs -> Angle::degrees 2020-10-19 19:55:05 -05:00

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.