Find peaks of a curve

@JacobSmall
It all have to do with sweeping an object along a curve with ada. points. To know how many points do I need to add in order to sweep the element exactly where the curve is.

@mikael_deity
I do apologize because you right, I didn’t formulate my question the right way.

@Mark.Ackerley @mikael_deity @JacobSmall
Thanks everyone for the help. The solution proposed by mikael is the most suitable for me, so I set it as the answer. I think the topic can be closed.