aimstil
5.0.5
|
Functions | |
template<typename T1 , typename T2 , typename T3 > | |
boost::enable_if_c< std::numeric_limits< T1 >::is_specialized &&std::numeric_limits< T2 >::is_specialized >::type | add (T1 x, T2 y, T3 &z) |
The following functions are necessary for the coming functors. More... | |
template<typename T1 , typename T2 , typename T3 > | |
boost::enable_if_c< std::numeric_limits< T1 >::is_specialized &&std::numeric_limits< T2 >::is_specialized >::type | sub (T1 x, T2 y, T3 &z) |
template<typename T1 , typename T2 , typename T3 > | |
boost::enable_if_c< std::numeric_limits< T1 >::is_specialized &&std::numeric_limits< T2 >::is_specialized >::type | mul (T1 x, T2 y, T3 &z) |
template<typename T1 , typename T2 , typename T3 > | |
boost::enable_if_c< std::numeric_limits< T1 >::is_specialized &&std::numeric_limits< T2 >::is_specialized >::type | div (T1 x, T2 y, T3 &z) |
template<typename TParam , typename T > | |
boost::enable_if< boost::is_pointer< typename TParam::FaceIndex::value_type > >::type | convertAimsMesh (Mesh< TParam > &mesh, const T &aimsmesh) |
template<typename TParam , typename T > | |
boost::disable_if< boost::is_pointer< typename TParam::FaceIndex::value_type > >::type | convertAimsMesh (Mesh< TParam > &mesh, const T &aimsmesh) |
template<typename TParam , typename T > | |
boost::enable_if< boost::is_pointer< typename TParam::FaceIndex::value_type > >::type | convertAimsMesh (T &aimsmesh, const Mesh< TParam > &mesh) |
template<typename TParam , typename T > | |
boost::disable_if< boost::is_pointer< typename TParam::FaceIndex::value_type > >::type | convertAimsMesh (T &aimsmesh, const Mesh< TParam > &mesh) |
template<typename TPrecision , typename TVector3D > | |
TPrecision | diff2 (const TVector3D &v1, const TVector3D &v2) |
Computes the squared Euclidean distance between two vectors. More... | |
template<typename TPrecision , typename TVector3D > | |
TPrecision | diff (const TVector3D &v1, const TVector3D &v2) |
Computes the Euclidean distance between two vectors. More... | |
|
inline |
The following functions are necessary for the coming functors.
They should probably be the only cases when those ternary functors (that are really doing two things: operate THEN assign) are simply a call to z = x OP y.
Definition at line 21 of file basicFunctors.h.
boost::enable_if<boost::is_pointer<typename TParam::FaceIndex::value_type> >::type til::functor::convertAimsMesh | ( | Mesh< TParam > & | mesh, |
const T & | aimsmesh | ||
) |
Definition at line 668 of file aims_wrap.h.
References til::detail::convert_mesh_2().
boost::disable_if<boost::is_pointer<typename TParam::FaceIndex::value_type> >::type til::functor::convertAimsMesh | ( | Mesh< TParam > & | mesh, |
const T & | aimsmesh | ||
) |
Definition at line 675 of file aims_wrap.h.
References til::detail::convert_aimsmeshTomesh1().
boost::enable_if<boost::is_pointer<typename TParam::FaceIndex::value_type> >::type til::functor::convertAimsMesh | ( | T & | aimsmesh, |
const Mesh< TParam > & | mesh | ||
) |
Definition at line 683 of file aims_wrap.h.
References til::detail::convert_mesh_3().
boost::disable_if<boost::is_pointer<typename TParam::FaceIndex::value_type> >::type til::functor::convertAimsMesh | ( | T & | aimsmesh, |
const Mesh< TParam > & | mesh | ||
) |
Definition at line 690 of file aims_wrap.h.
References til::detail::convert_mesh1Toaimsmesh().
Referenced by til::functor::CastTo< Mesh< TParam >, AimsSurfaceTriangle >::operator()(), til::functor::CastTo< Mesh< TParam >, AimsSurface< 3, Void > >::operator()(), til::functor::CastTo< AimsSurfaceTriangle, T >::operator()(), and til::functor::CastTo< AimsSurface< 3, Void >, T >::operator()().
|
inline |
Computes the Euclidean distance between two vectors.
Definition at line 250 of file miscUtils.h.
References til::sqrt().
|
inline |
Computes the squared Euclidean distance between two vectors.
Definition at line 243 of file miscUtils.h.
References til::norm2().
|
inline |
Definition at line 54 of file basicFunctors.h.
|
inline |
Definition at line 43 of file basicFunctors.h.
|
inline |
Definition at line 32 of file basicFunctors.h.