GMSH api is including axis of rotation points in mesh output
I am using the GMSH api to create a 3D mesh from a point cloud. The mesh comes together however my issue lies with the creation of extra nodes. I assume these are associated with the axis of rotation since the loose/hanging node are only located along the axis of revolution.
Here is my relevant part of my code
gmsh::model::geo::addCurveLoop({curve_loop_tags}, 1);
gmsh::model::geo::addPlaneSurface({1}, 1);
gmsh::model::geo::addPhysicalGroup(2, {l},12);
std::vector<std::pair<int, int> > ov;
std::vector<std::pair<double, double> > ov2;
double h = 5;
gmsh::model::geo::revolve({{2, 1}},
std::get<0>(top_point_coordinate), std::get<1>(top_point_coordinate),
std::get<2>(top_point_coordinate),
0,
-1,
0,
-M_PI/30,
ov,
{});
gmsh::option::setNumber("Mesh.Algorithm", 6);
gmsh::option::setNumber("Mesh.Algorithm3D", 4);
gmsh::model::mesh::generate(3);
gmsh::option::setNumber("Mesh.SaveAll", 1);
gmsh::write("explant.msh");
gmsh::finalize();
I can go and delete these nodes manually but I hate to do that for every model.
Any ideas?