Inclusive rectangular tile range at one zoom level. More...
#include <xyz_tiles.h>
Public Member Functions | |
| std::size_t | columns () const |
| Count columns in the ordered inclusive X range. | |
| std::size_t | rows () const |
| Count rows in the ordered inclusive Y range. | |
| std::size_t | size () const |
| Count tiles in the validated rectangular range. | |
Data Fields | |
| int | zoom = 19 |
| std::uint32_t | firstX = 0 |
| std::uint32_t | firstY = 0 |
| std::uint32_t | lastX = 0 |
| std::uint32_t | lastY = 0 |
Detailed Description
Inclusive rectangular tile range at one zoom level.
Definition at line 36 of file xyz_tiles.h.
Member Function Documentation
◆ columns()
|
inline |
Count columns in the ordered inclusive X range.
- Returns
- One column when both X endpoints are the same.
Definition at line 41 of file xyz_tiles.h.
◆ rows()
|
inline |
Count rows in the ordered inclusive Y range.
- Returns
- One row when both Y endpoints are the same.
Definition at line 44 of file xyz_tiles.h.
◆ size()
|
inline |
Count tiles in the validated rectangular range.
- Returns
- Number of tiles at this zoom; both edges are included.
Definition at line 47 of file xyz_tiles.h.
Field Documentation
◆ firstX
| std::uint32_t pangea_survey::XyzRange::firstX = 0 |
Definition at line 38 of file xyz_tiles.h.
◆ firstY
| std::uint32_t pangea_survey::XyzRange::firstY = 0 |
Definition at line 38 of file xyz_tiles.h.
◆ lastX
| std::uint32_t pangea_survey::XyzRange::lastX = 0 |
Definition at line 38 of file xyz_tiles.h.
◆ lastY
| std::uint32_t pangea_survey::XyzRange::lastY = 0 |
Definition at line 38 of file xyz_tiles.h.
◆ zoom
| int pangea_survey::XyzRange::zoom = 19 |
Definition at line 37 of file xyz_tiles.h.
The documentation for this struct was generated from the following file:
- modules/pangea/xyz_tiles.h