SMESH usage, C++ examples

Hi! I’m trying to write the C++ code for creating and computing a triangular mesh with a NETGEN2D hypothesis.

I saw a few Python samples regarding this topic, but none are written in C++, and the way the SMESH modules are called in Python seems to differ a lot.

Do you have any idea where I should look for some examples/guides(if they exist) or maybe some suggestions on how to approach this problem?