Poly Object should have `__eq__` property
Equality checks based on points would be useful for tests and general comparisons.
Description
Shapes can be equivalent and we should be able to check that. If #11 is fixed using a simple check on vertices should be enough. We may want to consider vertices which are within a certain dx ~ 1e-6 from each other as equal.
Tasks
- [ ] Implement
__eq__methods forPolyclasses - [ ] Document functionality
- [ ] Add unit test for functionality
I would like to add equality checks, but I'm not comfortable with any tolerance-based checks. I think only exact equality should match, just like with numpy arrays or similar. We could add a separate method to check approximate equality.
Hmm in that case we should probably just follow NumPy with an isclose method.