add isInsideTriangle2 and isInsidePolygon2