IMathUtility Help request

Hello,

I would need help on how to calculate a point on the circumference using the MathUtility, I want to calculate a point at a certain angle (exsample 30 °)

In the image I show an arc of circumference of which I know:

- Center coordinate (PcX, PcY)

- Coordinate of start of arc (P1X,P1Y)

- Coordinate of end of arc (P2X,P2Y)

- Radius of the arc (eg. 50 mm)

I need to calculate:

- the coordinates of the point P?X, P?Y

- Angle of the arc

Not knowing well the MathUtility,

I do not know if it is the right way and how to use them, you could give me a code with the code if possible.

I thank you all

SolidworksApi/macros