adam
99c3d13441
*** empty log message ***
2010-02-26 16:08:53 +00:00
eap
039a4f4346
+ SMESH_Comment & operator=(const SMESH_Comment& c) {
...
+ _s << c.c_str() ;
+ this->string::operator=( _s.str() );
+ return *this;
+ }
+
2010-02-24 12:44:11 +00:00
eap
a34eac9276
+ static bool FaceNormal(const SMDS_MeshElement* F, gp_XYZ& normal, bool normalized=true);
2010-02-24 12:43:56 +00:00
eap
a710674f83
020697: EDF 1248 SMESH: Sub-mesh on group of face not taken into account
...
* Correct adding geom groups into map of ansestors
2010-02-18 08:29:00 +00:00
eap
84dcc4efcf
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
...
* Add CheckNodeU()
* Compute parameters of created medium nodes even in force3d mode
* Leave doxygen-style comments of functions only in the header
2010-02-11 13:16:51 +00:00
eap
7be9f329c4
0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
...
* Fix GetOrderedEdges(): workaroud for BRepTools_WireExplorer, which return no edges if they are internal
2010-02-11 08:25:06 +00:00
eap
2536cb0c1b
Make TNodeXYZ public, which together with SMDS_StdIterator allows getting coordinates of all nodes of mesh element in a couple of lines of code:
...
typedef SMDS_StdIterator< SMESH_MeshEditor::TNodeXYZ, SMDS_ElemIteratorPtr > TXyzIterator;
vector<gp_Pnt> coords( TXyzIterator( elem->nodesIterator()), TXyzIterator() );
class SMESH_EXPORT SMESH_MeshEditor
{
public:
+ //------------------------------------------
+ /*!
+ * \brief SMDS_MeshNode -> gp_XYZ convertor
+ */
+ //------------------------------------------
+ struct TNodeXYZ : public gp_XYZ
2010-02-09 11:13:23 +00:00
eap
a3b1bac8a0
020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
...
* Rename HasDegenenaratedEdges() -> HasDegeneratedEdges()
2010-02-01 14:26:09 +00:00
eap
696fa5df7f
020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
...
+ * \brief Check if the shape set through IsQuadraticSubMesh() or SetSubShape()
+ * has a degenerated edges
+ * \retval bool - true if it has
+ */
+ bool HasDegenenaratedEdges() const { return !myDegenShapeIds.empty(); }
2010-02-01 14:19:06 +00:00
eap
8d99b0dffe
0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
...
* Evaluate(): do not call algo->Evaluate() if needed submeshes failed to evaluate
2010-02-01 11:09:38 +00:00
eap
8726d7811f
0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
...
Assure that this submesh is evaluated once
2010-01-27 10:09:15 +00:00
eap
6462277df0
shorten code
2010-01-22 11:29:51 +00:00
eap
9f57d8b5e9
initialize _nbSegments
2010-01-20 08:31:14 +00:00
dmv
7a8e3a50af
Unstable warning in release mode, on creating radialQuadrangle1D2D meshes.
2010-01-12 15:34:12 +00:00
dmv
06f0c4f62f
correct debug messages
2010-01-12 15:32:37 +00:00
dmv
85d94c3b51
0020635: EDF 1223 SMESH: Error message of RadialQuadrangle algorithm not precise
2010-01-12 08:07:50 +00:00
dmv
d316b3a623
0020635: EDF 1223 SMESH: Error message of RadialQuadrangle algorithm not precise
2010-01-11 15:14:52 +00:00
eap
163dc9b8fd
0020028: EDF 842 SMESH : Can't export to med a mesh with same names
...
for one group of nodes and one group of faces
avoid duplicated group names within one type of elements only
2009-12-25 11:22:10 +00:00
eap
e6e7b52bbf
0020618: EDF 1208 SMESH: problems with DoubleNodeElemGroup*InRegion
...
1) fix finding element center in isInside()
2) add classifying on TopoDS_FAce
2009-12-18 10:36:52 +00:00
eap
339e2f0051
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
...
fix isOut()
2009-12-16 08:27:50 +00:00
eap
e7952c1e1e
0020427: EDF 868 SMESH : Be able to define the submeshing order
...
fix SortByMeshOrder(), forgot to increment iterator
2009-12-14 09:23:56 +00:00
eap
5e7f07d3da
untabify
2009-12-10 14:52:59 +00:00
eap
f2c45dcff7
0020427: EDF 868 SMESH : Be able to define the submeshing order
...
fix SortByMeshOrder(), which replaces a submesh of lower priority
by one of higher priority even if the last one is not in
theListToSort
2009-12-10 09:55:48 +00:00
vsr
b03a1e6001
Merge from BR_phase16 branch (09/12/09)
2009-12-09 15:46:26 +00:00
vsr
2daa321efa
Merge from V5_1_3_BR branch (07/12/09)
2009-12-08 13:11:42 +00:00
eap
388cb7d58d
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
...
fix isOut()
2009-11-11 14:58:39 +00:00
eap
4cd62d7138
untabify
2009-10-07 13:14:47 +00:00
eap
6510081be2
020461: EDF 1102 GHS3DPLUGIN: Bad detection of volumes with Ghs3d mesh
...
SMESH_MesherHelper:
- void SetCheckNodePosition(bool toCheck) { myCheckNodePos = toCheck; }
/*!
+ * \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;
- bool myCheckNodePos;
+ std::set< int > myOkNodePosShapes;
2009-10-02 16:20:31 +00:00
eap
692b18b251
untabify
2009-10-02 13:09:52 +00:00
eap
69aebe3a10
untabify
2009-09-17 12:22:15 +00:00
eap
794e4ede5b
untabify
2009-09-17 07:27:34 +00:00
eap
fd8513f94e
untabify
2009-09-15 16:18:08 +00:00
dmv
a448c25876
IPAL21346 After Quadrangle Algorithm failed, visualisation of mesh is bad. Regress to 5.1.2
2009-09-15 15:27:58 +00:00
eap
a269dcbbdf
0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
...
pb: only the 1st algo is applied
// apply the algos that do not require descretized boundaries
// ----------------------------------------------------------
for ( subIt = smWithAlgoSupportingSubmeshes.rbegin(); subIt != subEnd; ++subIt )
+ {
+ sm = *subIt;
if ( sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE)
{
2009-09-15 13:24:04 +00:00
eap
8d7286fc5d
untabify
2009-09-15 08:46:22 +00:00
eap
0244669837
untabify
2009-09-10 15:29:29 +00:00
ptv
a44eb77228
0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh
2009-09-10 12:40:55 +00:00
eap
525249fdfb
unatbify
2009-09-10 11:06:18 +00:00
eap
99e3564a09
0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
...
+#include <limits>
2009-09-10 08:10:41 +00:00
ptv
35c05cab65
0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh
2009-09-10 06:59:27 +00:00
eap
7512099966
0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
...
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
optimize for performance
2009-09-10 05:49:16 +00:00
eap
0f2c407672
0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
...
struct SMESH_NodeSearcher
{
virtual const SMDS_MeshNode* FindClosestTo( const gp_Pnt& pnt ) = 0;
+ virtual void MoveNode( const SMDS_MeshNode* node, const gp_Pnt& toPnt ) = 0;
};
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
+//=======================================================================
+/*!
+ * \brief Return elements of given type where the given point is IN or ON.
+ *
+ * 'ALL' type means elements of any type excluding nodes and 0D elements
+ */
+//=======================================================================
+
+struct SMESH_ElementSearcher
+{
+ virtual void FindElementsByPoint(const gp_Pnt& point,
+ SMDSAbs_ElementType type,
+ std::vector< const SMDS_MeshElement* >& foundNodes)=0;
+};
2009-09-10 05:29:55 +00:00
eap
ec71bd93d2
untabify
2009-09-09 06:17:26 +00:00
ptv
2fa6f3c92b
remove compilation error on Windows
2009-09-01 06:56:48 +00:00
ptv
8a7fc527d7
remove compilation error on Windows
2009-09-01 03:53:08 +00:00
eap
db647c3bf2
unused variables
2009-08-27 14:09:43 +00:00
eap
30aaa793b9
fix GetSubMesh()
...
if ( it.More() )
+ {
index = _myMeshDS->AddCompoundSubmesh( aSubShape, it.Value().ShapeType() );
+ if ( index > _nbSubShapes ) _nbSubShapes = index; // not to create sm for this group again
+ }
}
2009-08-27 13:58:53 +00:00
ptv
40b2818f18
0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
...
Replace hard coded values of element types by new enumeration (added in advanced mesh info Improvement)
2009-08-25 05:18:16 +00:00
eap
57781aac7a
0020452: EDF 1056 SMESH : 2D Projection Issue
...
static int GetOrderedEdges (const TopoDS_Face& theFace,
TopoDS_Vertex theFirstVertex,
std::list< TopoDS_Edge >& theEdges,
- std::list< int > & theNbVertexInWires);
+ std::list< int > & theNbVertexInWires,
+ const bool theShapeAnalysisAlgo=false);
2009-08-20 07:35:09 +00:00
vsr
2e5ccf9f57
Issue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined
2009-08-13 05:50:13 +00:00