mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
New features: class BOPTools_AlgoTools2D - method void BOPTools_AlgoTools2D::AdjustPCurveOnFace (const BRepAdaptor_Surface& aBAS, const Standard_Real aFirst, const Standard_Real aLast, const Handle(Geom2d_Curve)& aC2D, Handle(Geom2d_Curve)& aC2DA) has been added. The method uses the refetence to BRepAdaptor_Surface object as parameter. The fact allows to avoid redundant computations such as BRepTools::UVBounds(....) Changes: class BOPTools_AlgoTools2D - method: void BOPTools_AlgoTools2D::AdjustPCurveOnFace (const TopoDS_Face& aF, const Standard_Real aT1, const Standard_Real aT2, const Handle(Geom2d_Curve)& aC2D, Handle(Geom2d_Curve)& aC2DA) has been changed. The changes are to provide the consistency with I.1 - method: void BOPTools_AlgoTools2D::MakePCurveOnFace (const TopoDS_Face& aF, const Handle(Geom_Curve)& aC3D, const Standard_Real aT1, const Standard_Real aT2, Handle(Geom2d_Curve)& aC2D, Standard_Real& TolReached2d) has been changed. The changes are to provide the consistency with I.1 The restricted surface is used as data for the projection algorithm. Test case for CR25982