Skip to content

Conversation

dgtized
Copy link
Contributor

@dgtized dgtized commented Mar 9, 2022

Handles receiving a triangle, a map with points a,b,c and a sequential tuple of
three elements.

Also adds tests to cover these cases.

This allows constructions like (map t/circumcircle triangles) to work as expected instead of throwing errors around missing keys a,b,c.

However on the API design front, I'm a little hesitant about the use of instance?. I wonder if thi.ng.geom.core needs a ICircumcircle protocol, and not just the protocol with a bounding circle? It's also not clear how to handle this if the argument is a Triangle3 at this time?

Handles receiving a triangle, a map with points a,b,c and a sequential tuple of
three elements.

Also adds tests to cover these cases.
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

Successfully merging this pull request may close these issues.

1 participant