mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025765: Coding rules - clean up code from obsolete macro checks
Unused code paths (including definition of these macros and meaningless comments) were eliminated.
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
|
||||
// Great zoom leads to non-coincidence of
|
||||
// a point and non-infinite lines passing throught this point:
|
||||
#define OCC64
|
||||
|
||||
#include <StdPrs_Curve.ixx>
|
||||
|
||||
|
@@ -14,7 +14,6 @@
|
||||
|
||||
// Great zoom leads to non-coincidence of
|
||||
// a point and non-infinite lines passing throught this point:
|
||||
#define OCC64
|
||||
|
||||
#include <StdPrs_DeflectionCurve.ixx>
|
||||
|
||||
|
@@ -14,9 +14,6 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#define G005 //ATS,GG 04/01/01 Use PrimitiveArray instead Sets of primitives
|
||||
// for performance improvment
|
||||
|
||||
#include <StdPrs_ShadedSurface.ixx>
|
||||
|
||||
#include <Graphic3d_ArrayOfTriangleStrips.hxx>
|
||||
|
@@ -18,9 +18,6 @@
|
||||
#include <TopoDS.hxx>
|
||||
#include <Adaptor2d_Curve2d.hxx>
|
||||
|
||||
|
||||
#define OCC316
|
||||
|
||||
//=======================================================================
|
||||
//function : StdPrs_ToolRFace
|
||||
//purpose :
|
||||
@@ -100,9 +97,7 @@ void StdPrs_ToolRFace::Next()
|
||||
BRep_Tool::CurveOnSurface(TopoDS::Edge(myExplorer.Current()),
|
||||
myFace,
|
||||
U1,U2);
|
||||
#ifdef OCC316
|
||||
if ( !C.IsNull() )
|
||||
#endif
|
||||
DummyCurve.Load(C,U1,U2);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user