mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024734: Convertation of the generic classes to the non-generic. Part 4
Generic classes "LProp_FuncCurExt", "LProp_FuncCurNul" and "LProp_NumericCurInf" from "LProp" package converted to the non-generic classes and moved to the "Geom2dLProp" package. Therefore names of this classes were changed to "Geom2dLProp_FuncCurExt", "Geom2dLProp_FuncCurNul" and "Geom2dLProp_NumericCurInf". Generic class "Sweep_LinearRegularSweep" from "Sweep" package converted to the non-generic classes and moved to the "BRepSweep" package. Therefore name of this class was changed to "BRepSweep_NumLinearRegularSweep". Also 2 internal classes of "BRepSweep_NumLinearRegularSweep" moved to "BRepSweep.cdl". Generic classes "Primitives_Wedge" and "Primitives_OneAxis" from "Primitives" package converted to the non-generic classes and moved to the "BRepPrim" package. Therefore names of this classes were changed to "BRepPrim_GWedge" and "BRepPrim_OneAxis". Also enum "Direction" moved to BRepPrim. Therefore all "Primitives" package was deleted. And some other minor changes were done. Internal classes Array2OfShapes and SequenceOfShapes from BRepSweep_NumLinearRegularSweep replaced to Array2OfShape and SequenceOfShape from TopTools.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#include <BRepPrimAPI_MakeBox.ixx>
|
||||
#include <BRepBuilderAPI.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <Primitives_Direction.hxx>
|
||||
#include <BRepPrim_Direction.hxx>
|
||||
|
||||
|
||||
inline gp_Pnt pmin(const gp_Pnt& p,
|
||||
@@ -171,7 +171,7 @@ BRepPrimAPI_MakeBox::operator TopoDS_Solid()
|
||||
|
||||
const TopoDS_Face& BRepPrimAPI_MakeBox::BottomFace () {
|
||||
|
||||
return myWedge.Face (Primitives_ZMin);
|
||||
return myWedge.Face (BRepPrim_ZMin);
|
||||
}
|
||||
|
||||
|
||||
@@ -183,7 +183,7 @@ const TopoDS_Face& BRepPrimAPI_MakeBox::BottomFace () {
|
||||
|
||||
const TopoDS_Face& BRepPrimAPI_MakeBox::BackFace () {
|
||||
|
||||
return myWedge.Face (Primitives_XMin);
|
||||
return myWedge.Face (BRepPrim_XMin);
|
||||
}
|
||||
|
||||
|
||||
@@ -194,7 +194,7 @@ const TopoDS_Face& BRepPrimAPI_MakeBox::BackFace () {
|
||||
|
||||
const TopoDS_Face& BRepPrimAPI_MakeBox::FrontFace () {
|
||||
|
||||
return myWedge.Face (Primitives_XMax);
|
||||
return myWedge.Face (BRepPrim_XMax);
|
||||
}
|
||||
|
||||
|
||||
@@ -205,7 +205,7 @@ const TopoDS_Face& BRepPrimAPI_MakeBox::FrontFace () {
|
||||
|
||||
const TopoDS_Face& BRepPrimAPI_MakeBox::LeftFace () {
|
||||
|
||||
return myWedge.Face (Primitives_YMin);
|
||||
return myWedge.Face (BRepPrim_YMin);
|
||||
}
|
||||
|
||||
|
||||
@@ -216,7 +216,7 @@ const TopoDS_Face& BRepPrimAPI_MakeBox::LeftFace () {
|
||||
|
||||
const TopoDS_Face& BRepPrimAPI_MakeBox::RightFace () {
|
||||
|
||||
return myWedge.Face (Primitives_YMax);
|
||||
return myWedge.Face (BRepPrim_YMax);
|
||||
}
|
||||
|
||||
|
||||
@@ -227,7 +227,7 @@ const TopoDS_Face& BRepPrimAPI_MakeBox::RightFace () {
|
||||
|
||||
const TopoDS_Face& BRepPrimAPI_MakeBox::TopFace () {
|
||||
|
||||
return myWedge.Face (Primitives_ZMax);
|
||||
return myWedge.Face (BRepPrim_ZMax);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user