Fermat
Classes | Functions
Octahedral Functions

Detailed Description

Classes

struct  cugar::Oct_basis
 
struct  cugar::Oct_smooth_basis
 

Functions

CUGAR_API CUGAR_HOST_DEVICE float cugar::oct_basis (const int32 i, const Vector3f &d)
 
CUGAR_API CUGAR_HOST_DEVICE float cugar::oct_smooth_basis (const int32 i, const Vector3f &omega)
 

Function Documentation

◆ oct_basis()

CUGAR_HOST CUGAR_DEVICE float cugar::oct_basis ( const int32  i,
const Vector3f d 
)
inline

evaluate the i-th octahedral function

Parameters
ifunction index
dinput direction vector

◆ oct_smooth_basis()

CUGAR_HOST_DEVICE float cugar::oct_smooth_basis ( const int32  i,
const Vector3f omega 
)
inline

evaluate the i-th smoothed octahedral function

Parameters
ifunction index
dinput direction vector