mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 18:00:34 +05:00
Fix for OCCT 7.6 WASM
This commit is contained in:
parent
f3402508da
commit
00fc408f99
@ -41,6 +41,9 @@
|
|||||||
#include <GC_MakeSegment.hxx>
|
#include <GC_MakeSegment.hxx>
|
||||||
#include <GeomAPI_ExtremaCurveCurve.hxx>
|
#include <GeomAPI_ExtremaCurveCurve.hxx>
|
||||||
#include <Geom_Line.hxx>
|
#include <Geom_Line.hxx>
|
||||||
|
#include <gp_Sphere.hxx>
|
||||||
|
#include <gp_Cylinder.hxx>
|
||||||
|
#include <gp_Cone.hxx>
|
||||||
#include <IntAna_IntConicQuad.hxx>
|
#include <IntAna_IntConicQuad.hxx>
|
||||||
#include <IntAna_Quadric.hxx>
|
#include <IntAna_Quadric.hxx>
|
||||||
#include <gp_Lin.hxx>
|
#include <gp_Lin.hxx>
|
||||||
|
@ -26,7 +26,9 @@
|
|||||||
#include "SMDS_LinearEdge.hxx"
|
#include "SMDS_LinearEdge.hxx"
|
||||||
#include "SMDS_Mesh.hxx"
|
#include "SMDS_Mesh.hxx"
|
||||||
#include "SMDS_MeshGroup.hxx"
|
#include "SMDS_MeshGroup.hxx"
|
||||||
|
#include <gp_Sphere.hxx>
|
||||||
|
#include <gp_Cylinder.hxx>
|
||||||
|
#include <gp_Cone.hxx>
|
||||||
#include <IntAna_IntConicQuad.hxx>
|
#include <IntAna_IntConicQuad.hxx>
|
||||||
#include <IntAna_Quadric.hxx>
|
#include <IntAna_Quadric.hxx>
|
||||||
#include <NCollection_DataMap.hxx>
|
#include <NCollection_DataMap.hxx>
|
||||||
|
@ -73,6 +73,9 @@
|
|||||||
#include <Geom_BezierSurface.hxx>
|
#include <Geom_BezierSurface.hxx>
|
||||||
#include <Geom_RectangularTrimmedSurface.hxx>
|
#include <Geom_RectangularTrimmedSurface.hxx>
|
||||||
#include <Geom_TrimmedCurve.hxx>
|
#include <Geom_TrimmedCurve.hxx>
|
||||||
|
#include <gp_Sphere.hxx>
|
||||||
|
#include <gp_Cylinder.hxx>
|
||||||
|
#include <gp_Cone.hxx>
|
||||||
#include <IntAna_IntConicQuad.hxx>
|
#include <IntAna_IntConicQuad.hxx>
|
||||||
#include <IntAna_IntLinTorus.hxx>
|
#include <IntAna_IntLinTorus.hxx>
|
||||||
#include <IntAna_Quadric.hxx>
|
#include <IntAna_Quadric.hxx>
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
#include <Basics_OCCTVersion.hxx>
|
#include <Basics_OCCTVersion.hxx>
|
||||||
|
|
||||||
#if OCC_VERSION_LARGE < 0x07070000
|
#if OCC_VERSION_LARGE < 0x07060000
|
||||||
#include <GeomAdaptor_HCurve.hxx>
|
#include <GeomAdaptor_HCurve.hxx>
|
||||||
#include <GeomAdaptor_HSurface.hxx>
|
#include <GeomAdaptor_HSurface.hxx>
|
||||||
#endif
|
#endif
|
||||||
@ -1890,7 +1890,7 @@ namespace {
|
|||||||
SMESHDS_Mesh* tgtMeshDS = tgtMesh->GetMeshDS();
|
SMESHDS_Mesh* tgtMeshDS = tgtMesh->GetMeshDS();
|
||||||
|
|
||||||
Handle(Geom_Surface) tgtSurface = BRep_Tool::Surface( theTgtFace );
|
Handle(Geom_Surface) tgtSurface = BRep_Tool::Surface( theTgtFace );
|
||||||
#if OCC_VERSION_LARGE < 0x07070000
|
#if OCC_VERSION_LARGE < 0x07060000
|
||||||
Handle(GeomAdaptor_HSurface) tgtSurfAdaptor = new GeomAdaptor_HSurface( tgtSurface );
|
Handle(GeomAdaptor_HSurface) tgtSurfAdaptor = new GeomAdaptor_HSurface( tgtSurface );
|
||||||
Handle(GeomAdaptor_HCurve) piercingCurve = new GeomAdaptor_HCurve( thePiercingLine );
|
Handle(GeomAdaptor_HCurve) piercingCurve = new GeomAdaptor_HCurve( thePiercingLine );
|
||||||
#else
|
#else
|
||||||
|
@ -36,6 +36,9 @@
|
|||||||
#include "SMESH_MesherHelper.hxx"
|
#include "SMESH_MesherHelper.hxx"
|
||||||
#include "SMESH_subMesh.hxx"
|
#include "SMESH_subMesh.hxx"
|
||||||
|
|
||||||
|
#include <gp_Sphere.hxx>
|
||||||
|
#include <gp_Cylinder.hxx>
|
||||||
|
#include <gp_Cone.hxx>
|
||||||
#include <IntAna_IntConicQuad.hxx>
|
#include <IntAna_IntConicQuad.hxx>
|
||||||
#include <IntAna_Quadric.hxx>
|
#include <IntAna_Quadric.hxx>
|
||||||
#include <TColgp_Array1OfPnt.hxx>
|
#include <TColgp_Array1OfPnt.hxx>
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
|
|
||||||
#include <Basics_OCCTVersion.hxx>
|
#include <Basics_OCCTVersion.hxx>
|
||||||
|
|
||||||
#if OCC_VERSION_LARGE < 0x07070000
|
#if OCC_VERSION_LARGE < 0x07060000
|
||||||
#include <Adaptor3d_HSurface.hxx>
|
#include <Adaptor3d_HSurface.hxx>
|
||||||
#else
|
#else
|
||||||
#include <Adaptor3d_Surface.hxx>
|
#include <Adaptor3d_Surface.hxx>
|
||||||
@ -1829,7 +1829,7 @@ namespace VISCOUS_3D
|
|||||||
//case GeomAbs_SurfaceOfExtrusion:
|
//case GeomAbs_SurfaceOfExtrusion:
|
||||||
case GeomAbs_OffsetSurface:
|
case GeomAbs_OffsetSurface:
|
||||||
{
|
{
|
||||||
#if OCC_VERSION_LARGE < 0x07070000
|
#if OCC_VERSION_LARGE < 0x07060000
|
||||||
Handle(Adaptor3d_HSurface) base = surface.BasisSurface();
|
Handle(Adaptor3d_HSurface) base = surface.BasisSurface();
|
||||||
return getRovolutionAxis( base->Surface(), axis );
|
return getRovolutionAxis( base->Surface(), axis );
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user