I have a situation where I want opencascade to add a vertex at the intersection of too lines when possible.
auto a = gp_Pnt(0, 0, 0);
auto b = gp_Pnt(100, 0, 0);
auto c = gp_Pnt(50, -100, 0);
auto d = gp_Pnt(50, 100, 0);
auto edge1 = BRepBuilderAPI_MakeEdge(a, b);
auto edge2 =...