Image Component Library (ICL)
Namespaces | Functions
GeometricTools.h File Reference
#include <ICLGeom/GeomDefs.h>
#include <ICLUtils/Point32f.h>

Go to the source code of this file.

Namespaces

 icl
 undocument this line if you encounter any issues!
 
 icl::physics
 

Functions

bool icl::physics::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 icl::physics::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. More...