1
0
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:
apn
2015-02-24 19:27:20 +03:00
committed by bugmaster
parent f1b0b4f9c6
commit d2094e110f
130 changed files with 11 additions and 1775 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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);
}
}