- Extract ApplyTransform() to consolidate Rotate/Offset methods - Add BoundsTracker helper class for bounding box calculations - Extract ProcessLinearMotion/ProcessCircularMotion helpers - Use pattern matching instead of type checks and casts - Use foreach loops instead of indexed for loops - Use expression-bodied members for simple methods - Use tuple deconstruction and Math.Min/Max Reduces code from 368 to 227 lines (~38% reduction). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6.9 KiB
6.9 KiB