Fermat
Public Types | Public Methods | Public Members | List of all members
cugar::morton_functor< uint64, 3u, BboxType > Struct Template Reference

Detailed description

template<typename BboxType>
struct cugar::morton_functor< uint64, 3u, BboxType >

a convenience functor to compute the Morton code of a point sequences relative to a given bounding box

#include <morton.h>

Public Types

typedef BboxType::value_type value_type
 
typedef BboxType::vector_type vector_type
 

Public Methods

CUGAR_HOST_DEVICE morton_functor (const BboxType &bbox)
 
template<typename Point_type >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE uint64 operator() (const Point_type point) const
 

Public Members

const vector_type m_base
 
const vector_type m_inv
 

Constructor & Destructor Documentation

◆ morton_functor()

template<typename BboxType >
CUGAR_HOST_DEVICE cugar::morton_functor< uint64, 3u, BboxType >::morton_functor ( const BboxType &  bbox)
inline

constructor

Parameters
bboxglobal bounding box

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