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_detail::Bounds Struct Reference

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

bool pangea_detail::Bounds::empty ( ) const
inline

Empty until an accepted source photo contributes map coverage.

Definition at line 715 of file pangea.cpp.

◆ from()

Bounds pangea_detail::Bounds::from ( const Json & value,
int max_map_side = 8192 )
inlinestatic

Parse bounds and enforce zoom-18 world and maximum map-side constraints.

Definition at line 720 of file pangea.cpp.

◆ include()

Bounds pangea_detail::Bounds::include ( const Bounds & other,
int max_map_side = 8192 ) const
inline

Extend the committed tile envelope without changing either input.

Parameters
otherNew footprint in tile coordinates.
max_map_sideMaximum 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()

Json pangea_detail::Bounds::json ( ) const
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: