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
0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_FaceSide.hxx
diff --git
a/src/StdMeshers/StdMeshers_FaceSide.hxx
b/src/StdMeshers/StdMeshers_FaceSide.hxx
index 612444eb53065b6d69e21bc84d39398ccc8c4662..46e6ebc4dc95a70877e3c47fdb0f7d4b7533e2b7 100644
(file)
--- a/
src/StdMeshers/StdMeshers_FaceSide.hxx
+++ b/
src/StdMeshers/StdMeshers_FaceSide.hxx
@@
-86,16
+86,16
@@
public:
/*!
* \brief Wrap several edges. Edges must be properly ordered and oriented.
*/
/*!
* \brief Wrap several edges. Edges must be properly ordered and oriented.
*/
- StdMeshers_FaceSide(const TopoDS_Face& theFace,
+ StdMeshers_FaceSide(const TopoDS_Face&
theFace,
std::list<TopoDS_Edge>& theEdges,
std::list<TopoDS_Edge>& theEdges,
- SMESH_Mesh* theMesh,
- const bool theIsForward,
- const bool theIgnoreMediumNodes);
+ SMESH_Mesh*
theMesh,
+ const bool
theIsForward,
+ const bool
theIgnoreMediumNodes);
/*!
/*!
- * \brief
Wrap for
vertex using data from other FaceSide
+ * \brief
Simulate a side from a
vertex using data from other FaceSide
*/
*/
- StdMeshers_FaceSide(const SMDS_MeshNode* theNode,
- const gp_Pnt2d thePnt2d,
+ StdMeshers_FaceSide(const SMDS_MeshNode*
theNode,
+ const gp_Pnt2d
thePnt2d,
const StdMeshers_FaceSide* theSide);
/*!
* \brief Return wires of a face as StdMeshers_FaceSide's
const StdMeshers_FaceSide* theSide);
/*!
* \brief Return wires of a face as StdMeshers_FaceSide's
@@
-130,7
+130,8
@@
public:
* \param isXConst - true if normalized parameter X is constant
* \param constValue - constant parameter value
*
* \param isXConst - true if normalized parameter X is constant
* \param constValue - constant parameter value
*
- * Missing nodes are allowed only on internal vertices
+ * Missing nodes are allowed only on internal vertices.
+ * For a closed side, the 1st point repeats at end
*/
const std::vector<UVPtStruct>& GetUVPtStruct(bool isXConst =0, double constValue =0) const;
/*!
*/
const std::vector<UVPtStruct>& GetUVPtStruct(bool isXConst =0, double constValue =0) const;
/*!
@@
-141,6
+142,11
@@
public:
const std::vector<UVPtStruct>& SimulateUVPtStruct(int nbSeg,
bool isXConst = 0,
double constValue = 0) const;
const std::vector<UVPtStruct>& SimulateUVPtStruct(int nbSeg,
bool isXConst = 0,
double constValue = 0) const;
+ /*!
+ * \brief Return nodes in the order they encounter while walking along the side.
+ * For a closed side, the 1st point repeats at end
+ */
+ std::vector<const SMDS_MeshNode*> GetOrderedNodes() const;
/*!
* \brief Return edge and parameter on edge by normalized parameter
*/
/*!
* \brief Return edge and parameter on edge by normalized parameter
*/
@@
-201,7
+207,7
@@
public:
protected:
protected:
- // DON't FORGET t
O
update Reverse() when adding one more vector!
+ // DON't FORGET t
o
update Reverse() when adding one more vector!
std::vector<uvPtStruct> myPoints, myFalsePoints;
std::vector<TopoDS_Edge> myEdge;
std::vector<int> myEdgeID;
std::vector<uvPtStruct> myPoints, myFalsePoints;
std::vector<TopoDS_Edge> myEdge;
std::vector<int> myEdgeID;