olp-cpp-sdk
1.22.0
|
A subdivision scheme used to represent half quadtrees. More...
#include <HalfQuadTreeSubdivisionScheme.h>
Public Member Functions | |
bool | IsEqualTo (const ISubdivisionScheme &other) const override |
Checks whether two schemes are equal. More... | |
const std::string & | GetName () const override |
Gets the unique scheme name. More... | |
math::Size2u | GetSubdivisionAt (unsigned level) const override |
Gets the number of child tiles into which a tile splits at a given level. More... | |
math::Size2u | GetLevelSize (unsigned level) const override |
Gets the size of a given level. More... | |
A subdivision scheme used to represent half quadtrees.
Subdivides tiles of level 0 into left and right parts. At other levels, it subdivides tiles into four equal-sized child tiles.
|
overridevirtual |
Gets the size of a given level.
[in] | level | The subdivision level. |
Implements olp::geo::ISubdivisionScheme.
|
overridevirtual |
|
overridevirtual |
Gets the number of child tiles into which a tile splits at a given level.
[in] | level | The subdivision level. |
Implements olp::geo::ISubdivisionScheme.
|
overridevirtual |
Checks whether two schemes are equal.
[in] | other | The other scheme. |
Implements olp::geo::ISubdivisionScheme.