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

Is triangle test a custom function or from a plugin?