-// Copyright (C) 2007-2021 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2023 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include <BRepClass_FaceClassifier.hxx>
#include <BRepAdaptor_Surface.hxx>
#include <BRepTools.hxx>
-#include <BRepAdaptor_HSurface.hxx>
#include "BLSURFPlugin_Hypothesis.hxx"
static void FillEntryToShape( const BLSURFPlugin_Hypothesis* hyp,
std::map< std::string, TopoDS_Shape > & s2eMap );
+ virtual void SetEventListener(SMESH_subMesh* subMesh) override;
+ virtual void SubmeshRestored(SMESH_subMesh* subMesh) override;
+
+
+
// List of ids
typedef std::vector<int> TListOfIDs;
typedef std::vector< TEdgePeriodicityIDs > TEdgesIDsPeriodicityVector;
typedef std::vector< TVertexPeriodicityIDs > TVerticesIDsPeriodicityVector;
+ // Point projection on FACE
+ typedef struct {
+ gp_XY uv;
+ gp_XYZ xyz;
+ TopAbs_State state;
+ } projectionPoint;
+
+ static projectionPoint getProjectionPoint(TopoDS_Face& theFace,
+ const gp_Pnt& thePoint,
+ const bool theAllowStateON=false);
protected:
private:
PyObject * main_mod;
PyObject * main_dict;
- SMESH_MesherHelper* myHelper;
volatile bool _compute_canceled;
};