olp-cpp-sdk
1.22.0
|
An abstract tiling subdivision scheme. More...
#include <ISubdivisionScheme.h>
Public Member Functions | |
virtual bool | IsEqualTo (const ISubdivisionScheme &other) const =0 |
Checks whether two schemes are equal. More... | |
virtual const std::string & | GetName () const =0 |
Gets the unique scheme name. More... | |
virtual math::Size2u | GetSubdivisionAt (unsigned level) const =0 |
Gets the number of child tiles into which a tile splits at a given level. More... | |
virtual math::Size2u | GetLevelSize (unsigned level) const =0 |
Gets the size of a given level. More... | |
An abstract tiling subdivision scheme.
|
pure virtual |
Gets the size of a given level.
[in] | level | The subdivision level. |
Implemented in olp::geo::QuadTreeSubdivisionScheme, and olp::geo::HalfQuadTreeSubdivisionScheme.
|
pure virtual |
Gets the unique scheme name.
Implemented in olp::geo::QuadTreeSubdivisionScheme, and olp::geo::HalfQuadTreeSubdivisionScheme.
|
pure virtual |
Gets the number of child tiles into which a tile splits at a given level.
[in] | level | The subdivision level. |
Implemented in olp::geo::QuadTreeSubdivisionScheme, and olp::geo::HalfQuadTreeSubdivisionScheme.
|
pure virtual |
Checks whether two schemes are equal.
[in] | other | The other scheme. |
Implemented in olp::geo::QuadTreeSubdivisionScheme, and olp::geo::HalfQuadTreeSubdivisionScheme.