We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
thi.ng.geom.triangle/circumcircle-raw returns nil for points that are the same:
thi.ng.geom.triangle/circumcircle-raw
(circumcircle-raw [0.5 0.5] [0.5 0.5] [0.5 0.5]) => nil
causing a NPE in thi.ng.geom.utils.delaunay/triangle-spec :
thi.ng.geom.utils.delaunay/triangle-spec
(alter-meta! #'td/triangle-spec update :private not) (td/triangle-spec [0.5 0.5] [0.5 0.5] [0.5 0.5]) Execution error (NullPointerException) at thi.ng.geom.utils.delaunay/triangle-spec (delaunay.cljc:40). null
I can think of these options:
circumcircle-raw
triangle-spec
triangulate
The text was updated successfully, but these errors were encountered:
No branches or pull requests
thi.ng.geom.triangle/circumcircle-raw
returns nil for points that are the same:causing a NPE in
thi.ng.geom.utils.delaunay/triangle-spec
:I can think of these options:
circumcircle-raw
could return a zero-radius circle in this case - no errors but maybe undesirabletriangle-spec
and warn - slower but more friendlytriangulate
- at least users would be able to find out whyThe text was updated successfully, but these errors were encountered: