opencascade用环来裁剪面
gp_Pln plane(gp_Pnt(0.0, 0.0, 0.0), gp::DZ());
gp_Pnt p1(0, 0, 0);
gp_Pnt p2(1, 0, 0);
gp_Pnt p3(1, 1, 0);
gp_Pnt p4(0, 1, 0);
TopoDS_Edge edge1 = BRepBuilderAPI_MakeEdge(p1, p2);
TopoDS_Edge edge2 = BRepBuilderAPI_MakeEdge(p4, p3);
TopoDS_Edge edge3 = BRepBuilderAPI_MakeEdge(p3, p2);
TopoDS_Edge edge4 = BRepBuilderAPI_MakeEdge(p1, p4);
TopoDS_Wire wire = BRepBuilderAPI_MakeWire(edge1, edge2, edge3,edge4);
TopoDS_Face face1 = BRepBuilderAPI_MakeFace(plane);
TopoDS_Face trimFace = BRepBuilderAPI_MakeFace(face1, wire);
display(trimFace);