Generating a procedural floor inside closed spline

Hi everyone, I’m working on a spline building generator, the building can be of varying complexity, can be convex or concave.
I’d like to use the procedural mesh component to make the floors, but I’m having trouble figuring out how to create the triangles for the vertices, I would probably pick the first 2 vertices along the wall, but how do i get the third one? and how do I figure out if there are holes left in the mesh?

Here is an image as example of how complex a building can be

I found a working BP solution, the creator was kind enough to share it, works perfectly
YouTube link

Maybe a stupid question, I’m working on a spline building constructor myself, how did you use what you shared?

@DoubleP90 video is unfortunetly down do you still have a solution to this problem?

Any clues on how you fixed the problem?

Here’s the Files, sorry but I don’t remember how it was implemented