mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0032056: Coding Rules - remove package MMgt and other types deprecated since OCCT 7.2.0
Removed functionality deprecated since OCCT 7.1.0: - 0027834 built-in iterator in class SelectMgr_ViewerSelector; - 0027900 obsolete constructor of V3d_Viewer class; - 0027816 obsolete clipping plane setters V3d_View/PrsMgr_PresentableObject:SetClipPlanes(); - 0027860 obsolete transformation persistence methods from class PrsMgr_PresentableObject; - 0027756 obsolete methods Prs3d_Text::Draw(); - 0024393 obsolete enum Graphic3d_ZLayerSetting; - 0025180 obsolete method Graphic3d_Structure::Transform(). Removed functionality deprecated since OCCT 7.2.0: - 0028832 obsolete class MMgt_TShared; - 0026937 obsolete property Standard_Failure::Caught(); - 0028799 obsolete types defined within Quantity package; - 0028441 obsolete nested enum Image_PixMap::ImgFormat; - 0025695 obsolete method PrsMgr_PresentationManager::Unhighlight(); - 0028205 obsolete class MeshVS_ColorHasher; - 0027958 obsolete methods from Prs3d_DatumAspect class; - 0025695 obsolete class Graphic3d_HighlightStyle; - 0027954 obsolete BRepOffsetAPI_MakeOffsetShape,BRepOffsetAPI_MakeThickSolid constructors.
This commit is contained in:
@@ -29,23 +29,6 @@ BRepOffsetAPI_MakeOffsetShape::BRepOffsetAPI_MakeOffsetShape()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : BRepOffsetAPI_MakeOffsetShape
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
BRepOffsetAPI_MakeOffsetShape::BRepOffsetAPI_MakeOffsetShape(const TopoDS_Shape& S,
|
||||
const Standard_Real Offset,
|
||||
const Standard_Real Tol,
|
||||
const BRepOffset_Mode Mode,
|
||||
const Standard_Boolean Intersection,
|
||||
const Standard_Boolean SelfInter,
|
||||
const GeomAbs_JoinType Join,
|
||||
const Standard_Boolean RemoveIntEdges)
|
||||
: myLastUsedAlgo(OffsetAlgo_NONE)
|
||||
{
|
||||
PerformByJoin(S, Offset, Tol, Mode, Intersection, SelfInter, Join, RemoveIntEdges);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : PerformByJoin
|
||||
//purpose :
|
||||
|
@@ -48,17 +48,6 @@ public:
|
||||
//! Constructor does nothing.
|
||||
Standard_EXPORT BRepOffsetAPI_MakeOffsetShape();
|
||||
|
||||
//! Deprecated constructor. Please avoid usage of this constructor.
|
||||
Standard_DEPRECATED("Deprecated constructor. Please use constructor without parameters and one of perform methods.")
|
||||
Standard_EXPORT BRepOffsetAPI_MakeOffsetShape(const TopoDS_Shape& S,
|
||||
const Standard_Real Offset,
|
||||
const Standard_Real Tol,
|
||||
const BRepOffset_Mode Mode = BRepOffset_Skin,
|
||||
const Standard_Boolean Intersection = Standard_False,
|
||||
const Standard_Boolean SelfInter = Standard_False,
|
||||
const GeomAbs_JoinType Join = GeomAbs_Arc,
|
||||
const Standard_Boolean RemoveIntEdges = Standard_False);
|
||||
|
||||
//! Constructs offset shape for the given one using simple algorithm without intersections computation.
|
||||
Standard_EXPORT void PerformBySimple(const TopoDS_Shape& theS,
|
||||
const Standard_Real theOffsetValue);
|
||||
|
@@ -33,27 +33,6 @@ BRepOffsetAPI_MakeThickSolid::BRepOffsetAPI_MakeThickSolid()
|
||||
mySimpleOffsetShape.SetBuildSolidFlag(Standard_True);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : BRepOffsetAPI_MakeThickSolid
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
BRepOffsetAPI_MakeThickSolid::BRepOffsetAPI_MakeThickSolid(const TopoDS_Shape& S,
|
||||
const TopTools_ListOfShape& ClosingFaces,
|
||||
const Standard_Real Offset,
|
||||
const Standard_Real Tol,
|
||||
const BRepOffset_Mode Mode,
|
||||
const Standard_Boolean Intersection,
|
||||
const Standard_Boolean SelfInter,
|
||||
const GeomAbs_JoinType Join,
|
||||
const Standard_Boolean RemoveIntEdges)
|
||||
{
|
||||
// Build only solids.
|
||||
mySimpleOffsetShape.SetBuildSolidFlag(Standard_True);
|
||||
|
||||
MakeThickSolidByJoin(S, ClosingFaces, Offset, Tol,
|
||||
Mode, Intersection, SelfInter, Join, RemoveIntEdges);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : MakeThickSolidByJoin
|
||||
//purpose :
|
||||
|
@@ -54,18 +54,6 @@ public:
|
||||
//! Constructor does nothing.
|
||||
Standard_EXPORT BRepOffsetAPI_MakeThickSolid();
|
||||
|
||||
//! Deprecated constructor. Please avoid usage of this constructor.
|
||||
Standard_DEPRECATED("Deprecated constructor. Please use constructor without parameters and one of make methods.")
|
||||
Standard_EXPORT BRepOffsetAPI_MakeThickSolid(const TopoDS_Shape& S,
|
||||
const TopTools_ListOfShape& ClosingFaces,
|
||||
const Standard_Real Offset,
|
||||
const Standard_Real Tol,
|
||||
const BRepOffset_Mode Mode = BRepOffset_Skin,
|
||||
const Standard_Boolean Intersection = Standard_False,
|
||||
const Standard_Boolean SelfInter = Standard_False,
|
||||
const GeomAbs_JoinType Join = GeomAbs_Arc,
|
||||
const Standard_Boolean RemoveIntEdges = Standard_False);
|
||||
|
||||
//! Constructs solid using simple algorithm.
|
||||
//! According to its nature it is not possible to set list of the closing faces.
|
||||
//! This algorithm does not support faces removing. It is caused by fact that
|
||||
|
Reference in New Issue
Block a user