|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Inclusive bounding box (returned by bbox).
More...
#include <tpl_ca_hashlife.H>
Public Member Functions | |
| bool | is_empty () const noexcept |
| True iff there are no alive cells. | |
| std::int64_t | width () const noexcept |
Width of the box (0 if empty). | |
| std::int64_t | height () const noexcept |
Height of the box (0 if empty). | |
Public Attributes | |
| std::int64_t | x_min |
| std::int64_t | y_min |
| std::int64_t | x_max |
| std::int64_t | y_max |
Inclusive bounding box (returned by bbox).
Definition at line 307 of file tpl_ca_hashlife.H.
|
inlinenoexcept |
Height of the box (0 if empty).
Definition at line 327 of file tpl_ca_hashlife.H.
References is_empty(), y_max, and y_min.
|
inlinenoexcept |
|
inlinenoexcept |
Width of the box (0 if empty).
Definition at line 321 of file tpl_ca_hashlife.H.
References is_empty(), x_max, and x_min.
| std::int64_t Aleph::CA::Hashlife_Engine::BBox::x_max |
Definition at line 311 of file tpl_ca_hashlife.H.
Referenced by is_empty(), and width().
| std::int64_t Aleph::CA::Hashlife_Engine::BBox::x_min |
Definition at line 309 of file tpl_ca_hashlife.H.
Referenced by is_empty(), and width().
| std::int64_t Aleph::CA::Hashlife_Engine::BBox::y_max |
Definition at line 312 of file tpl_ca_hashlife.H.
Referenced by height().
| std::int64_t Aleph::CA::Hashlife_Engine::BBox::y_min |
Definition at line 310 of file tpl_ca_hashlife.H.
Referenced by height().