Centroids were returning strange results because vertices that were collinear with other perimeter vertices could move the centroid. This isn't really sensible because a centroid represents a sort of center of mass of the 2D shape, and shouldn't be affected by extra perimeter vertices.
DESCRIPTION:
Remove collinear vertices before computing the centroid.
TESTING:
Test passes.
FUTURE WORK:
Is there any future work needed or anticipated? Does this PR create any obvious technical debt?
BACKGROUND:
DESCRIPTION:
TESTING:
FUTURE WORK:
REQUIRED:
CHANGELOG.md
.COMMENTS:
This change is