Bug in `intriangle`
The following code incorrectly returns 2, which according to the documentation means that the point is in the triangle:
using GeometricalPredicates
a = Point(1.1, 1.1)
b = Point(1.1,1.3)
c = Point2D(1.1, 1.4)
mytriangle = Primitive(a, b, c)
intriangle(mytriangle, Point(1.5, 1.8))
I am referring to the part in the documentation where it says "1 + 1 = 2 means the test point is in front of a, exactly on the triangle". On the other hand, another part of the documentation says that 2 means that it "cannot tell", but as far as I can tell this is referring to incircle and not intriangle.
@natschil As far as I can see, it is impossible to create a triangle from points you have mentioned above.
Depending on your definition, any three points define a triangle.