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

Public Member Functions

size_t count (int limit) const
 Validate an inclusive tile rectangle and count its cells.

Data Fields

int64_t left
int64_t top
int64_t right
int64_t bottom

Detailed Description

Inclusive tile bounds; right and bottom identify actual covered tiles.

Definition at line 700 of file camera_lens.cpp.

Member Function Documentation

◆ count()

size_t camera_lens_detail::Bounds::count ( int limit) const
inline

Validate an inclusive tile rectangle and count its cells.

Parameters
limitMaximum permitted tile count.
Returns
Number of tiles including both boundary rows and columns.
Exceptions
std::runtime_errorIf the extent, count, or Mercator row range is invalid.

Bound each span before multiplying. Columns may cross the antimeridian and are wrapped at lookup; rows cannot wrap past the poles.

Definition at line 708 of file camera_lens.cpp.

Field Documentation

◆ bottom

int64_t camera_lens_detail::Bounds::bottom

Definition at line 701 of file camera_lens.cpp.

◆ left

int64_t camera_lens_detail::Bounds::left

Definition at line 701 of file camera_lens.cpp.

◆ right

int64_t camera_lens_detail::Bounds::right

Definition at line 701 of file camera_lens.cpp.

◆ top

int64_t camera_lens_detail::Bounds::top

Definition at line 701 of file camera_lens.cpp.


The documentation for this struct was generated from the following file: