I created a spline surface tube from a set of points, but now I am trying to create faces for the end caps. My goal is to created a closed manifold, then create a solid, and finally conduct boolean operations for two solids.
I create the splice surface using PointsToBSplineSurface like:
GeomAPI_PointsToBSplineSurface spline_builder(points, 4, 6, GeomAbs_C2, 0.05);
auto& spline_surf = spline_builder.Surface();
I checked the edges and there are 4, but I cannot figure out how to create the end caps. I assume it would involve the edges? Any help would be greatly appreciated.