How to calculate 2D parameter?

Hi,

I want to calculate a point’s coordinates (u, v) in 2D parameter domain from its 3D coordinates.
I didn’t get any result from Introduction Documentation.
Does anyone know which class of OCC works?

Thanks a lot.

dvdjimmy's picture

Hi,

first you can project your 3D Point to the Shape and extract the Surface you projected to.

Then you can easily access the U/V values of the projected Point.

dvdjimmy

uinity's picture

Thank you very much.

I will try.