Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
pangea_survey::XyzRange Struct Reference

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()

std::size_t pangea_survey::XyzRange::columns ( ) const
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()

std::size_t pangea_survey::XyzRange::rows ( ) const
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()

std::size_t pangea_survey::XyzRange::size ( ) const
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: