Given a triangle ABC and a point P, device an algorithm for understanding whether P is inside or outside the triangle.
PS: sometime you forgot old geometry, but this problem is simply a generalization of a point P and a segment S. Is the point above or below S?
No comments:
Post a Comment