Struct slippy_map_tiles::BBox [] [src]

pub struct BBox { /* fields omitted */ }

A Bounding box

Methods

impl BBox
[src]

[src]

Construct a new BBox from the given max and min latitude and longitude. Returns None if the lat or lon is invalid, e.g. a lon of 200

[src]

Given a string like "$MINLON $MINLAT $MAXLON $MAXLAT" parse that into a BBox. Returns None if there is no match.

[src]

Given two points, return the bounding box specified by those 2 points

[src]

Construct a BBox from a tile

[src]

Return true iff this point is in this bbox

[src]

Returns true iff this bbox and other share at least one point

[src]

Iterate over all the tiles from z0 onwards that this bbox is in

[src]

Iterate over all the metatiles from z0 onwards that this bbox is in

[src]

Return the top value of this bbox

[src]

Return the bottom value of this bbox

[src]

Return the left value of this bbox

[src]

Return the right value of this bbox

Trait Implementations

impl PartialEq for BBox
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for BBox
[src]

[src]

Formats the value using the given formatter.

impl Clone for BBox
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more