ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
Loading...
Searching...
No Matches
zlayout::spatial::ZOrderCurve Class Reference

Z-order curve (Morton code) for spatial hashing. More...

#include <advanced_spatial.hpp>

Static Public Member Functions

static uint64_t encode (uint32_t x, uint32_t y)
static std::pair< uint32_t, uint32_t > decode (uint64_t z)
static uint64_t encode_point (const geometry::Point &point, const geometry::Rectangle &bounds)

Detailed Description

Z-order curve (Morton code) for spatial hashing.

Definition at line 161 of file advanced_spatial.hpp.

Member Function Documentation

◆ decode()

std::pair< uint32_t, uint32_t > zlayout::spatial::ZOrderCurve::decode ( uint64_t z)
inlinestatic

Definition at line 167 of file advanced_spatial.hpp.

Here is the caller graph for this function:

◆ encode()

uint64_t zlayout::spatial::ZOrderCurve::encode ( uint32_t x,
uint32_t y )
inlinestatic

Definition at line 163 of file advanced_spatial.hpp.

Here is the caller graph for this function:

◆ encode_point()

uint64_t zlayout::spatial::ZOrderCurve::encode_point ( const geometry::Point & point,
const geometry::Rectangle & bounds )
inlinestatic

Definition at line 171 of file advanced_spatial.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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