All notable changes to this project are documented in this file.
- Added unit tests covering sorting, endpoint retention, degenerate segments, and return semantics in
/Tests/ShapeReducerTests.m.
ShapeReducerpublic API now exposes only consumer-facing methods.reduce:tolerance:now always returns a newShapeinstance.- Internal index/sequence handling now uses
NSUInteger.
- Prevented divide-by-zero in orthogonal distance calculation for degenerate line segments.
- Eliminated repeated re-sorting of points on every
pointsaccess by sorting once per mutation.
- Removed internal implementation details from the public header (
_points,_needs_sort, and internal recursive method). - Raised minimum supported iOS deployment target in the podspec.