Find peaks of a curve

@jacob.small
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 @jacob.small
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.