Public Member Functions | |
| bool | empty () const |
| Json | json () const |
| Bounds | include (const Bounds &other, int max_map_side=8192) const |
| Extend the committed tile envelope without changing either input. | |
Static Public Member Functions | |
| static Bounds | from (const Json &value, int max_map_side=8192) |
Data Fields | |
| int | left = 0 |
| int | top = 0 |
| int | right = -1 |
| int | bottom = -1 |
Detailed Description
Inclusive slippy-map tile rectangle for accumulated mosaic coverage.
Definition at line 712 of file pangea.cpp.
Member Function Documentation
◆ empty()
|
inline |
Empty until an accepted source photo contributes map coverage.
Definition at line 715 of file pangea.cpp.
◆ from()
Parse bounds and enforce zoom-18 world and maximum map-side constraints.
Definition at line 720 of file pangea.cpp.
◆ include()
|
inline |
Extend the committed tile envelope without changing either input.
- Parameters
-
other New footprint in tile coordinates. max_map_side Maximum allowed map side in pixels.
- Returns
- Bounding rectangle, not a claim that all enclosed tiles have coverage.
Reapply map limits to the union; individually acceptable footprints can breach the limit when combined.
Definition at line 739 of file pangea.cpp.
◆ json()
|
inline |
Serialize the inclusive tile rectangle into checkpoint JSON.
Definition at line 717 of file pangea.cpp.
Field Documentation
◆ bottom
| int pangea_detail::Bounds::bottom = -1 |
Definition at line 713 of file pangea.cpp.
◆ left
| int pangea_detail::Bounds::left = 0 |
Definition at line 713 of file pangea.cpp.
◆ right
| int pangea_detail::Bounds::right = -1 |
Definition at line 713 of file pangea.cpp.
◆ top
| int pangea_detail::Bounds::top = 0 |
Definition at line 713 of file pangea.cpp.
The documentation for this struct was generated from the following file:
- modules/pangea/pangea.cpp