def in_triangle(p,a,b,c):
# pre: a,b,c must be in clockwise order
# post: true if p is in the triangle abc
return right_of(p,a,b) and right_of(p,b,c) and right_of(p,c,a)
The Helm Package Manager for Kubernetes
6 days ago
Formerly a Blog on BeautifulSoup, now a blog on R, Python and Statistical Algorithms including Machine Learning Algorithms
No comments:
Post a Comment