Maria GDK 5.0.0.737
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::GeoIndex64Node Class Reference

Public Member Functions

 GeoIndex64Node (int level, const IndexCoord &origin, GeoIndex64RawStorage *store)
 
IndexCoord ChildOrigin (uint32_t childIndex) const
 
IndexCoord ChildOrigin (uint32_t localX, uint32_t localY)
 
constexpr int DynamicMaxPointItemsPerNode ()
 
constexpr int DynamicMaxAreaItemsPerNode ()
 
constexpr IndexArea Bounds () const
 
constexpr uint32_t Step () const
 
constexpr uint64_t Size () const
 
uint32_t MinX () const
 
uint32_t MinY () const
 
uint32_t MaxX () const
 
uint32_t MaxY () const
 
constexpr bool CanSplit () const
 
constexpr uint32_t IdxFromCoord (const IndexCoord &oc)
 
void GetChildIndices (const IndexArea &bounds, int8_t indices[64]) const
 
int GetMaxDepth () const
 
int GetNodeCount () const
 
int GetPointItemsCount (int minGeneration=-1, ItemStateFlags includedStates=ItemStateFlags::All, ItemStateFlags excludedStates=ItemStateFlags::None) const
 
int GetPointItemsCount (const IndexArea &bounds, int minGeneration=-1, ItemStateFlags includedStates=ItemStateFlags::All, ItemStateFlags excludedStates=ItemStateFlags::None) const
 
int GetAreaItemsCount (std::vector< bool > &unique, const IndexArea &bounds, int minGeneration=-1, ItemStateFlags includedStates=ItemStateFlags::All, ItemStateFlags excludedStates=ItemStateFlags::None) const
 
int GetAreaItemsCount (std::vector< bool > &unique, int minGeneration=-1, ItemStateFlags includedStates=ItemStateFlags::All, ItemStateFlags excludedStates=ItemStateFlags::None) const
 
void SetPointState (int id, IndexCoord coord, int generation, ItemStateFlags newState)
 
void SetAreaState (int id, const IndexArea &bounds, int generation, ItemStateFlags newState)
 
void GetRawAreaIds (std::vector< bool > &present, std::vector< int > &result, int minGenerationPreFilter) const
 
void GetRawAreaIds (std::vector< bool > &present, const IndexArea &bounds, std::vector< int > &result, int minGenerationPreFilter) const
 
void GetRawPointIds (std::vector< int > &result, int minGenerationPreFilter) const
 
void GetRawPointIds (const IndexArea &bounds, std::vector< int > &result, int minGenerationPreFilter) const
 
void DeletePoint (int id, const IndexCoord &coord)
 
void DeleteArea (int id, const IndexArea &bounds)
 
void AddArea (const IndexAreaItem &iai)
 
void AddPoint (const IndexPointItem &ipi)
 
int GetMaxGeneration () const
 

Static Public Member Functions

static uint32_t ChildIndexFromLocalCoord (uint32_t x, uint32_t y)
 
static GeoIndex64NodeCreateNode (int level, const IndexCoord &origin, GeoIndex64RawStorage *store)
 

Public Attributes

const int Level
 

The documentation for this class was generated from the following files: