Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue 0020520: [CEA 358] Import - Export Sauv files in SMESH
[modules/smesh.git]
/
src
/
SMESH
/
SMESH_MesherHelper.hxx
diff --git
a/src/SMESH/SMESH_MesherHelper.hxx
b/src/SMESH/SMESH_MesherHelper.hxx
index 1e8e326c19513eddcd620551f4f37c1f689ccac8..80bd0affa1b09cbb6abdcbd59e3904ff36e8baf8 100644
(file)
--- a/
src/SMESH/SMESH_MesherHelper.hxx
+++ b/
src/SMESH/SMESH_MesherHelper.hxx
@@
-151,15
+151,6
@@
public:
*/
void SetElementsOnShape(bool toSet) { mySetElemOnShape = toSet; }
*/
void SetElementsOnShape(bool toSet) { mySetElemOnShape = toSet; }
- /*!
- * \brief Enable/disable checking of node parameters on shapes while adding elements.
- * In case of incorrect parameters mudium node place is computed as the middle
- * of two nodes. Default is false.
- * NOTE that this flag is reset to "not to check" if check with non-default partameter
- * is successful
- */
- void SetCheckNodePosition(bool toCheck) { myCheckNodePos = toCheck; }
-
/*!
* \brief Set shape to make elements on without calling IsQuadraticSubMesh()
*/
/*!
* \brief Set shape to make elements on without calling IsQuadraticSubMesh()
*/
@@
-260,6
+251,14
@@
public:
const SMDS_MeshNode* n,
const SMDS_MeshNode* inFaceNode=0,
bool* check=0) const;
const SMDS_MeshNode* n,
const SMDS_MeshNode* inFaceNode=0,
bool* check=0) const;
+ /*!
+ * \brief Check and fix node UV on a face
+ * \retval bool - false if UV is bad and could not be fixed
+ */
+ bool CheckNodeUV(const TopoDS_Face& F,
+ const SMDS_MeshNode* n,
+ gp_XY& uv,
+ const double tol) const;
/*!
* \brief Return middle UV taking in account surface period
*/
/*!
* \brief Return middle UV taking in account surface period
*/
@@
-393,7
+392,7
@@
protected:
// to create quadratic elements
bool myCreateQuadratic;
bool mySetElemOnShape;
// to create quadratic elements
bool myCreateQuadratic;
bool mySetElemOnShape;
-
bool myCheckNodePo
s;
+
std::set< int > myOkNodePosShape
s;
};
};