Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Other predicates #18

Open
DanielVandH opened this issue Jul 25, 2024 · 0 comments
Open

Other predicates #18

DanielVandH opened this issue Jul 25, 2024 · 0 comments

Comments

@DanielVandH
Copy link
Member

It would be useful to have adaptive versions of the following predicates

  • parallelorder: This predicate is defined by parallelorder(a, b, p, q) = orient(b - a, q - p, 0) for points in the plane.
  • acuteangle: Defined by
function acuteangle(p, q, r)
prx, pry = p[1] - r[1], p[2] - r[2]
qrx, qry = q[1] - r[1], q[2] - r[2]
return prx * qrx + pry * qry 
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant