avoid private static member functions
This commit is contained in:
parent
422e0c44d5
commit
e6933ea413
@ -35,14 +35,16 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
|
|
||||||
// computes a 64 bit value that corresponds to the hilbert space filling curve
|
// computes a 64 bit value that corresponds to the hilbert space filling curve
|
||||||
|
|
||||||
class HilbertCode : boost::noncopyable {
|
class HilbertCode : boost::noncopyable
|
||||||
|
{
|
||||||
public:
|
public:
|
||||||
static uint64_t GetHilbertNumberForCoordinate(
|
uint64_t GetHilbertNumberForCoordinate
|
||||||
|
(
|
||||||
const FixedPointCoordinate & current_coordinate
|
const FixedPointCoordinate & current_coordinate
|
||||||
);
|
);
|
||||||
private:
|
private:
|
||||||
static inline uint64_t BitInterleaving(const uint32_t a, const uint32_t b);
|
inline uint64_t BitInterleaving( const uint32_t a, const uint32_t b);
|
||||||
static inline void TransposeCoordinate( uint32_t * X);
|
inline void TransposeCoordinate( uint32_t * X);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* HILBERTVALUE_H_ */
|
#endif /* HILBERTVALUE_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user