How to convert a blueprint to a C++ file ?

Here is the function traingle test. Also there is a small math function also in it. I am attaching that also…


PS: Triangle function is basically used to find the corddinates for the procedural mesh !