FACT++  1.0
bool Interpolator2D::circle::isInsideTriangle ( const vec v) const
inline

Definition at line 61 of file Interpolator2D.h.

62  {
63  return sameSide(v, p[0], p[1], p[2]) && sameSide(v, p[1], p[0], p[2]) && sameSide(v, p[2], p[0], p[1]);
64  }
static bool sameSide(const vec &p1, const vec &p2, const vec &a, const vec &b)