cgma
FacetEvalToolUtils Namespace Reference

Functions

template<typename R >
determ3 (R p1, R q1, R p2, R q2, R p3, R q3)
template<typename R >
sqr (R a)
template<typename R >
cube (R a)
template<typename R >
quart (R a)
template<typename R >
blend (R x)

Function Documentation

template<typename R >
R FacetEvalToolUtils::blend ( x) [inline]

Definition at line 30 of file FacetEvalTool.hpp.

                                          {
  return -2.0 * (x) * (x) * (x) + 3.0 * (x) * (x);
}
template<typename R >
R FacetEvalToolUtils::cube ( a) [inline]

Definition at line 28 of file FacetEvalTool.hpp.

{ return sqr(a) * a; }
template<typename R >
R FacetEvalToolUtils::determ3 ( p1,
q1,
p2,
q2,
p3,
q3 
) [inline]

Definition at line 24 of file FacetEvalTool.hpp.

                                                                           {
  return (q3) * ((p2) - (p1)) + (q2) * ((p1) - (p3)) + (q1) * ((p3) - (p2));
}
template<typename R >
R FacetEvalToolUtils::quart ( a) [inline]

Definition at line 29 of file FacetEvalTool.hpp.

{ return sqr(a) * sqr(a); }
template<typename R >
R FacetEvalToolUtils::sqr ( a) [inline]

Definition at line 27 of file FacetEvalTool.hpp.

{ return a * a; }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines