hexagon logo

Maximun point ina set of points

Hello,
I need help with PC-DMIS. 2030 r3.
I have several edge points and need to determine which is the maximum point and which is the minimum point among them. I can determine maximums and minimums in a scanning process, but I'm not sure how to do this with a set of points.
Does anyone know how to do this? Could someone please provide some guidance?
Thank you in advance.