Thanks for the answer I actually resolved the issue by adding this 2 lines in the OutputVariable definition
angle->setDefuzzifier(new fl::Centroid()); angle->fuzzyOutput()->setAccumulation(new fl::Maximum());
And then there were few misspelling problems in the rules.
But thanks anyway. And it works with the infinite triangles, but if it sometimes in the future stop to work I’ll know where to look. 🙂