testPointTriangle
- bool testPointTriangle(double pX, double pY, double v0X, double v0Y, double v1X, double v1Y, double v2X, double v2Y)
- bool testPointTriangle(Vector2d point, Vector2d v0, Vector2d v1, Vector2d v2)
public static
bool
testPointTriangle
doml intersection_d
static functionsstatic variables
Test whether the given <code>point</code> lies inside the triangle with the vertices <code>v0</code>, <code>v1</code>, <code>v2</code>.
@param v0 the first vertex of the triangle @param v1 the second vertex of the triangle @param v2 the third vertex of the triangle @param point the point @return <code>true</code> iff the point lies inside the triangle; <code>false</code> otherwise