OCCT: port FreeCAD sources to version 7.6

This commit is contained in:
wmayer
2021-10-11 00:28:12 +02:00
parent 5eeb61e268
commit 4e8823b584
2 changed files with 10 additions and 4 deletions

View File

@@ -36,8 +36,6 @@
# include <BRepAdaptor_Curve.hxx>
# include <GCPnts_AbscissaPoint.hxx>
# include <Adaptor3d_IsoCurve.hxx>
# include <Adaptor3d_HSurface.hxx>
# include <BRepAdaptor_HSurface.hxx>
# include <BRepAdaptor_Surface.hxx>
# include <GProp_GProps.hxx>
# include <BRepGProp.hxx>
@@ -51,6 +49,11 @@
# include <Geom_Plane.hxx>
# include <Geom_Line.hxx>
# include <Precision.hxx>
# include <Standard_Version.hxx>
# if OCC_VERSION_HEX < 0x070600
# include <Adaptor3d_HSurface.hxx>
# include <BRepAdaptor_HSurface.hxx>
# endif
#endif
#include "FemConstraint.h"
@@ -74,6 +77,11 @@ double round(double r) {
}
#endif
#if OCC_VERSION_HEX >= 0x070600
using Adaptor3d_HSurface = Adaptor3d_Surface;
using BRepAdaptor_HSurface = BRepAdaptor_Surface;
#endif
PROPERTY_SOURCE(Fem::Constraint, App::DocumentObject)
Constraint::Constraint()

View File

@@ -32,8 +32,6 @@
#include <BRepAdaptor_Surface.hxx>
#include <GCPnts_AbscissaPoint.hxx>
#include <Adaptor3d_IsoCurve.hxx>
#include <Adaptor3d_HSurface.hxx>
#include <BRepAdaptor_HSurface.hxx>
#include <GProp_GProps.hxx>
#include <BRepGProp.hxx>
#include <TopoDS_Vertex.hxx>