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()
|
inline |
Validate an inclusive tile rectangle and count its cells.
- Parameters
-
limit Maximum permitted tile count.
- Returns
- Number of tiles including both boundary rows and columns.
- Exceptions
-
std::runtime_error If 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:
- src/camera_lens.cpp