ETL  0.04.19
Public Member Functions | List of all members
distance_func< T, K > Struct Template Reference

#include <_curve_func.h>

Inheritance diagram for distance_func< T, K >:
binary_function

Public Member Functions

operator() (const T &a, const T &b) const
cook (const K &x) const
uncook (const K &x) const

Detailed Description

template<class T, class K = float>
struct distance_func< T, K >

Definition at line 54 of file _curve_func.h.

Member Function Documentation

template<class T, class K = float>
K distance_func< T, K >::operator() ( const T &  a,
const T &  b 
) const
inline

Definition at line 56 of file _curve_func.h.

template<class T, class K = float>
K distance_func< T, K >::cook ( const K &  x) const
inline

Definition at line 62 of file _curve_func.h.

Referenced by bspline< T, K, C, D >::find_closest_cpoint().

template<class T, class K = float>
K distance_func< T, K >::uncook ( const K &  x) const
inline

Definition at line 63 of file _curve_func.h.

Referenced by bezier< T, float >::find_distance().


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