abstreet/rustdoc/geom/sidebar-items.js
2022-08-17 08:00:58 +00:00

1 line
2.4 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

window.SIDEBAR_ITEMS = {"constant":[["EPSILON_DIST",""]],"enum":[["ArrowCap",""],["Statistic",""]],"fn":[["deserialize_f64","Deserializes a trimmed `f64` from an `i32`."],["geometries_to_geojson","Create a GeoJson with one feature per geometry, and no properties."],["geometries_with_properties_to_geojson","Create a GeoJson with one feature per geometry, with the specified properties."],["serialize_f64","Serializes a trimmed `f64` as an `i32` to save space."],["trim_f64","Reduce the precision of an f64. This helps ensure serialization is idempotent (everything is exactly the same before and after saving/loading). Ideally wed use some kind of proper fixed-precision type instead of f64."]],"mod":[["angle",""],["bounds",""],["circle",""],["conversions","Conversions between this crate and `geo`. Long-term, we should think about directly using `geo` or wrapping it, but in the meantime…"],["distance",""],["duration",""],["find_closest",""],["gps",""],["line",""],["percent",""],["polygon",""],["polyline",""],["pt",""],["ring",""],["speed",""],["stats",""],["tessellation",""],["time",""]],"struct":[["Angle","An angle, stored in radians."],["Bounds","Represents a rectangular boundary of `Pt2D` points."],["Circle","A circle, defined by a center and radius."],["CornerRadii",""],["Distance","A distance, in meters. Can be negative."],["Duration","A duration, in seconds. Can be negative."],["FindClosest","A quad-tree to quickly find the closest points to some polylines."],["GPSBounds","Represents a rectangular boundary of `LonLat` points. After building one of these, `LonLat`s can be transformed into `Pt2D`s, treating the top-left of the boundary as (0, 0), and growing to the right and down (screen-drawing order, not Cartesian) in meters."],["HashablePt2D","This represents world space, NOT LonLat."],["Histogram",""],["InfiniteLine",""],["Line","A line segment."],["LonLat","Represents a (longitude, latitude) point."],["Percent","Most of the time, [0, 1]. But some callers may go outside this range."],["PolyLine",""],["Polygon",""],["Pt2D","This represents world-space in meters."],["Ring","Maybe a misnomer, but like a PolyLine, but closed."],["Speed","In meters per second. Can be negative."],["Tessellation","A tessellated polygon, ready for rendering."],["Time","In seconds since midnight. Cant be negative."],["Triangle",""],["UnitFmt","Specifies how to stringify different geom objects."]],"trait":[["HgramValue",""]]};