I have a list of CGPoint
s that are connected using CGPathAddLineToPoint
going from each consecutive point and then the last point is linked to the first point. Thus I have a complete shape. And I want to detect which points belong to the outermost edge of the connected path so that I can remove any loops from the shape. How would I go about doing that?
Asked
Active
Viewed 75 times
0

barndog
- 6,975
- 8
- 53
- 105
-
Does [this](http://stackoverflow.com/questions/23578760/how-to-simplify-a-single-complex-uibezierpath-polygon-in-ios/23621812#23621812) answer your question? – rob mayoff Feb 03 '16 at 23:41
-
I think it does! Thanks! – barndog Feb 04 '16 at 00:14