ihmcrobotics / euclid

Vector math, geometry, reference frame, and shapes 2D & 3D
Apache License 2.0
31 stars 9 forks source link

Polygon geometricallyEquals shouldn't care about vertex ordering #51

Open rjgriffin42 opened 1 year ago

rjgriffin42 commented 1 year ago

If you call geometricallyEquals on a convex polygon, it shouldn't care about the ordering of the vertices, as that doesn't influence geometrically if the two polygons are equivalent.

SylvainBertrand commented 6 months ago
  1. Let's make sure this issue is covered in unit tests. @Richiedu38 look into ConvexPolygon2DTest.