Julian F. Weinert
Julian F. Weinert

Reputation: 7560

UIBezierPath find cross points / get all points

Is there any way to get all crossing points of lines created using UIBezierPaths? I could also imagine a solution where I get all points inside the UIBezierPath and check them one after the other...

Thanks, kind regards, Julian

Upvotes: 1

Views: 1298

Answers (1)

Milad Rezazadeh
Milad Rezazadeh

Reputation: 1483

I get all the points of a UIBezierpath on this sample code, there is a mathematical approach for it and you need to know key points of the curve , this example probably will help you ,

you can take a look at :

I will try to update it soon.

Upvotes: 1

Related Questions