39 const utils::Point32f &c,
const utils::Point32f &d,
40 utils::Point32f *dst=0,
41 float *dstr=0,
float *dsts=0);
45 const utils::Point32f &v2,
const utils::Point32f &v3);
undocument this line if you encounter any issues!
Definition: Any.h:37
bool line_segment_intersect(const utils::Point32f &a, const utils::Point32f &b, const utils::Point32f &c, const utils::Point32f &d, utils::Point32f *dst=0, float *dstr=0, float *dsts=0)
bool point_in_triangle(const utils::Point32f &p, const utils::Point32f &v1, const utils::Point32f &v2, const utils::Point32f &v3)
Checks whether the given point p lies within the triangle defined by v1,v2 and v3.