From e53b3594aeb89c838cf6254939feadf0992eb056 Mon Sep 17 00:00:00 2001 From: dabreegster Date: Fri, 4 Sep 2020 20:32:12 +0000 Subject: [PATCH] deploy: 70d2d1115e1c9224b11d6f661646e20621a22269 --- .../built_info/constant.BUILT_TIME_UTC.html | 2 +- rustdoc/geom/all.html | 2 +- rustdoc/geom/polygon/fn.downsize.html | 1 + rustdoc/geom/polygon/fn.from_geo.html | 2 +- rustdoc/geom/polygon/fn.from_multi.html | 2 +- rustdoc/geom/polygon/fn.to_geo.html | 2 +- rustdoc/geom/polygon/index.html | 4 +- rustdoc/geom/polygon/sidebar-items.js | 2 +- rustdoc/geom/polygon/struct.Polygon.html | 14 ++--- rustdoc/geom/polygon/struct.Triangle.html | 6 +- rustdoc/geom/struct.Polygon.html | 14 ++--- rustdoc/geom/struct.Triangle.html | 6 +- rustdoc/map_model/map/index.html | 2 +- rustdoc/map_model/struct.Map.html | 2 +- rustdoc/search-index.js | 16 +++--- .../game-3c7487281029702d/out/built.rs.html | 2 +- rustdoc/src/geom/polygon.rs.html | 56 +++++++++++++++---- rustdoc/src/map_model/map.rs.html | 8 +++ rustdoc/src/widgetry/backend_glow.rs.html | 4 +- 19 files changed, 95 insertions(+), 52 deletions(-) create mode 100644 rustdoc/geom/polygon/fn.downsize.html diff --git a/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html b/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html index 3f869dca21..786f22e889 100644 --- a/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html +++ b/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html @@ -1,2 +1,2 @@ -game::pregame::built_info::BUILT_TIME_UTC - Rust

[][src]Constant game::pregame::built_info::BUILT_TIME_UTC

pub const BUILT_TIME_UTC: &str = "Fri, 04 Sep 2020 19:36:05 +0000";

The built-time in RFC2822, UTC

+game::pregame::built_info::BUILT_TIME_UTC - Rust

[][src]Constant game::pregame::built_info::BUILT_TIME_UTC

pub const BUILT_TIME_UTC: &str = "Fri, 04 Sep 2020 20:29:35 +0000";

The built-time in RFC2822, UTC

\ No newline at end of file diff --git a/rustdoc/geom/all.html b/rustdoc/geom/all.html index 08d5c2233a..fd459ac30d 100644 --- a/rustdoc/geom/all.html +++ b/rustdoc/geom/all.html @@ -1,3 +1,3 @@ List of all items in this crate

[] - List of all items

Structs

Enums

Traits

Functions

Constants

\ No newline at end of file + List of all items

Structs

Enums

Traits

Functions

Constants

\ No newline at end of file diff --git a/rustdoc/geom/polygon/fn.downsize.html b/rustdoc/geom/polygon/fn.downsize.html new file mode 100644 index 0000000000..edadbb35fc --- /dev/null +++ b/rustdoc/geom/polygon/fn.downsize.html @@ -0,0 +1 @@ +geom::polygon::downsize - Rust

[][src]Function geom::polygon::downsize

fn downsize(input: Vec<usize>) -> Vec<u16>
\ No newline at end of file diff --git a/rustdoc/geom/polygon/fn.from_geo.html b/rustdoc/geom/polygon/fn.from_geo.html index e7a5b14dde..d86abafcc3 100644 --- a/rustdoc/geom/polygon/fn.from_geo.html +++ b/rustdoc/geom/polygon/fn.from_geo.html @@ -1 +1 @@ -geom::polygon::from_geo - Rust

[][src]Function geom::polygon::from_geo

fn from_geo(p: Polygon<f64>) -> Polygon
\ No newline at end of file +geom::polygon::from_geo - Rust

[][src]Function geom::polygon::from_geo

fn from_geo(p: Polygon<f64>) -> Polygon
\ No newline at end of file diff --git a/rustdoc/geom/polygon/fn.from_multi.html b/rustdoc/geom/polygon/fn.from_multi.html index e564866b83..36f10ec059 100644 --- a/rustdoc/geom/polygon/fn.from_multi.html +++ b/rustdoc/geom/polygon/fn.from_multi.html @@ -1 +1 @@ -geom::polygon::from_multi - Rust

[][src]Function geom::polygon::from_multi

fn from_multi(multi: MultiPolygon<f64>) -> Vec<Polygon>
\ No newline at end of file +geom::polygon::from_multi - Rust

[][src]Function geom::polygon::from_multi

fn from_multi(multi: MultiPolygon<f64>) -> Vec<Polygon>
\ No newline at end of file diff --git a/rustdoc/geom/polygon/fn.to_geo.html b/rustdoc/geom/polygon/fn.to_geo.html index e62c6f8c5a..2fd83f316c 100644 --- a/rustdoc/geom/polygon/fn.to_geo.html +++ b/rustdoc/geom/polygon/fn.to_geo.html @@ -1 +1 @@ -geom::polygon::to_geo - Rust

[][src]Function geom::polygon::to_geo

fn to_geo(pts: &Vec<Pt2D>) -> Polygon<f64>
\ No newline at end of file +geom::polygon::to_geo - Rust

[][src]Function geom::polygon::to_geo

fn to_geo(pts: &Vec<Pt2D>) -> Polygon<f64>
\ No newline at end of file diff --git a/rustdoc/geom/polygon/index.html b/rustdoc/geom/polygon/index.html index fbdb62db61..4e8dce4b4e 100644 --- a/rustdoc/geom/polygon/index.html +++ b/rustdoc/geom/polygon/index.html @@ -1,3 +1,3 @@ -geom::polygon - Rust

[][src]Module geom::polygon

Structs

+geom::polygon - Rust

[][src]Module geom::polygon

Structs

Polygon
Triangle

Functions

-
from_geo
from_multi
to_geo
\ No newline at end of file +
downsize
from_geo
from_multi
to_geo
\ No newline at end of file diff --git a/rustdoc/geom/polygon/sidebar-items.js b/rustdoc/geom/polygon/sidebar-items.js index 270370c4c5..644c22ed7f 100644 --- a/rustdoc/geom/polygon/sidebar-items.js +++ b/rustdoc/geom/polygon/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"fn":[["from_geo",""],["from_multi",""],["to_geo",""]],"struct":[["Polygon",""],["Triangle",""]]}); \ No newline at end of file +initSidebarItems({"fn":[["downsize",""],["from_geo",""],["from_multi",""],["to_geo",""]],"struct":[["Polygon",""],["Triangle",""]]}); \ No newline at end of file diff --git a/rustdoc/geom/polygon/struct.Polygon.html b/rustdoc/geom/polygon/struct.Polygon.html index 2b9196d01d..88509feae4 100644 --- a/rustdoc/geom/polygon/struct.Polygon.html +++ b/rustdoc/geom/polygon/struct.Polygon.html @@ -1,14 +1,14 @@ -geom::polygon::Polygon - Rust

[][src]Struct geom::polygon::Polygon

pub struct Polygon {
+geom::polygon::Polygon - Rust

[][src]Struct geom::polygon::Polygon

pub struct Polygon {
     points: Vec<Pt2D>,
-    indices: Vec<usize>,
+    indices: Vec<u16>,
     rings: Option<Vec<Ring>>,
 }

- Fields

points: Vec<Pt2D>indices: Vec<usize>rings: Option<Vec<Ring>>

Implementations

impl Polygon[src]

pub fn buggy_new(orig_pts: Vec<Pt2D>) -> Polygon[src]

pub fn with_holes(outer: Ring, inner: Vec<Ring>) -> Polygon[src]

pub fn from_geojson(raw: &Vec<Vec<Vec<f64>>>) -> Polygon[src]

pub fn precomputed(points: Vec<Pt2D>, indices: Vec<usize>) -> Polygon[src]

pub fn from_triangle(tri: &Triangle) -> Polygon[src]

pub fn triangles(&self) -> Vec<Triangle>[src]

pub fn raw_for_rendering(&self) -> (&Vec<Pt2D>, &Vec<usize>)[src]

pub fn contains_pt(&self, pt: Pt2D) -> bool[src]

pub fn get_bounds(&self) -> Bounds[src]

fn transform<F: Fn(&Pt2D) -> Pt2D>(&self, f: F) -> Polygon[src]

pub fn translate(&self, dx: f64, dy: f64) -> Polygon[src]

pub fn scale(&self, factor: f64) -> Polygon[src]

pub fn rotate(&self, angle: Angle) -> Polygon[src]

pub fn rotate_around(&self, angle: Angle, pivot: Pt2D) -> Polygon[src]

pub fn points(&self) -> &Vec<Pt2D>[src]

pub fn into_points(self) -> Vec<Pt2D>[src]

pub fn into_ring(self) -> Ring[src]

pub fn center(&self) -> Pt2D[src]

pub fn rectangle(width: f64, height: f64) -> Polygon[src]

pub fn rectangle_centered(
    center: Pt2D,
    width: Distance,
    height: Distance
) -> Polygon
[src]

pub fn rectangle_two_corners(pt1: Pt2D, pt2: Pt2D) -> Option<Polygon>[src]

pub fn rounded_rectangle(w: f64, h: f64, r: Option<f64>) -> Polygon[src]

pub fn union(self, other: Polygon) -> Polygon[src]

pub fn union_all(list: Vec<Polygon>) -> Polygon[src]

pub fn intersection(&self, other: &Polygon) -> Vec<Polygon>[src]

pub fn convex_hull(list: Vec<Polygon>) -> Polygon[src]

pub fn polylabel(&self) -> Pt2D[src]

pub fn to_outline(&self, thickness: Distance) -> Result<Polygon, String>[src]

pub fn strip_rings(&self) -> Polygon[src]

pub fn area(&self) -> f64[src]

pub fn clip_polyline(&self, input: &PolyLine) -> Option<Vec<Pt2D>>[src]

pub fn clip_ring(&self, input: &Ring) -> Option<Vec<Pt2D>>[src]

Trait Implementations

impl Clone for Polygon[src]