eap
8abf245a59
/*!
...
+ * Returns nodes of given face (counted from zero) for given volumic element.
+ */
+ long_array GetElemFaceNodes(in long elemId, in short faceIndex);
+
+ /*!
+ * Returns an element based on all given nodes.
+ */
+ long FindElementByNodes(in long_array nodes);
2010-03-30 12:27:31 +00:00
ouv
fa7f73d6bd
Bug IPAL21655 - Points representation works incorrectly with white background
2010-03-29 08:24:47 +00:00
eap
aa031dbe39
untabify
2010-03-25 14:51:26 +00:00
ouv
4d33eed28b
Issue 0020613: EDF 1106 : Modify Node Marker in SMESH and VISU
2010-03-25 13:55:29 +00:00
eap
c3b2640450
Move StdMeshers_ProjectionUtils::IsSubShape() to SMESH_MesherHelper
2010-03-23 14:33:16 +00:00
eap
8951a46238
Move from StdMeshers_ProjectionUtils
...
+ static bool IsSubShape( const TopoDS_Shape& shape, const TopoDS_Shape& mainShape );
+
+ static bool IsSubShape( const TopoDS_Shape& shape, SMESH_Mesh* aMesh );
2010-03-23 14:32:26 +00:00
eap
3a82c6685b
020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
...
* Cash GeomAPI_ProjectPointOnSurf's
* Make applyFunc() public under name applyIn2D()
+ * \brief Define a pointer to wrapper over a function of gp_XY class,
+ * suitable to pass as xyFunPtr to applyIn2D().
+ * For exaple gp_XY_FunPtr(Added) defines pointer gp_XY_Added to function
+ * calling gp_XY::Added(gp_XY), which is to be used like following
+ * applyIn2D(surf, uv1, uv2, gp_XY_Added)
+ */
+#define gp_XY_FunPtr(meth) \
+ static gp_XY __gpXY_##meth (const gp_XY& uv1, const gp_XY& uv2) { return uv1.meth( uv2 ); } \
+ static xyFunPtr gp_XY_##meth = & __gpXY_##meth
+ /*!
+ * \brief Perform given operation on two 2d points in parameric space of given surface.
+ * It takes into account period of the surface. Use gp_XY_FunPtr macro
+ * to easily define pointer to function of gp_XY class.
+ */
+ static gp_XY applyIn2D(const Handle(Geom_Surface)& surface,
+ const gp_XY& uv1,
+ const gp_XY& uv2,
+ xyFunPtr fun,
+ const bool resultInPeriod=true);
+
2010-03-23 08:04:58 +00:00
vsr
6468f538ec
Issue 0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached MED file
2010-03-22 15:15:49 +00:00
vsr
e9aead38a5
Issue 0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached MED file
2010-03-22 15:08:53 +00:00
dmv
9e0ab432cc
0020799: [CEA] Smesh script fails
2010-03-22 14:48:33 +00:00
vsr
db9ba2e978
0020801: EDF 1343 SMESH : Segmentation violation during compound od Mesh with 0D elements
2010-03-22 14:30:36 +00:00
dmv
736b66759f
0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached MED file
2010-03-22 12:17:15 +00:00
eap
8a6ef93bb1
SMESH_IDSource can be not-published object
...
+ operator<<(SMESH::SMESH_IDSource_ptr theArg);
2010-03-19 14:56:03 +00:00
eap
43cfddbeaa
0020771: EDF 1322 SMESH : Quadratic/Linear conversion with Medium Nodes on Geometry issue
...
* Care of period when performing operations on points in parametric space
2010-03-19 14:21:48 +00:00
eap
3b0695799f
0020781: EDF 1326 SMESH : Documentation missing
...
more detail for "Orientation of faces"
2010-03-19 07:25:55 +00:00
eap
d5768a3f63
0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
...
* fix pb of CheckNodeUV() with INTERNAL shapes
+ /*!
+ * \brief Return iterator on ancestors of the given type
+ */
+ static PShapeIteratorPtr GetAncestors(const TopoDS_Shape& shape,
+ const SMESH_Mesh& mesh,
+ TopAbs_ShapeEnum ancestorType);
2010-03-18 09:47:58 +00:00
eap
b51a02ed24
0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
...
- TopoDS_Shape GetSubShape() const { return myShape; }
+ const TopoDS_Shape& GetSubShape() const { return myShape; }
+typedef SMDS_Iterator<const TopoDS_Shape*> PShapeIterator;
+typedef boost::shared_ptr< PShapeIterator > PShapeIteratorPtr;
+ /*!
+ * \brief Return iterator on ancestors of the given type
+ */
+ static PShapeIteratorPtr GetAncestors(const TopoDS_Shape& shape,
+ const SMESH_Mesh& mesh,
+ TopAbs_ShapeEnum ancestorType);
2010-03-18 09:46:14 +00:00
eap
331cc524a8
0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
...
* In GetOrderedEdges(), preview presence of the internal vertex within the face
2010-03-18 09:42:08 +00:00
dmv
6339de2d04
IPAL21631 Incorrect Help link.
2010-03-17 07:52:51 +00:00
ana
1839653e13
Windows compatibility
2010-03-16 13:04:00 +00:00
ana
a4a1062443
Windows compatibility
2010-03-15 14:45:59 +00:00
dmv
2f541de569
0020727: EDF 1276 SMESH : add a Method RadialQuadrangle to the Mesh class in smeshDC.py
2010-03-15 13:56:52 +00:00
vsr
e2018c0393
Fix compilation problem on Debian Sarge
2010-03-15 09:31:54 +00:00
eap
8baf98a974
+//=======================================================================
...
+/*!
+ * \brief SMESH_TLink knowing its orientation
+ */
+//=======================================================================
+
+struct SMESH_OrientedLink: public SMESH_TLink
+{
+ bool _reversed;
+ SMESH_OrientedLink(const SMDS_MeshNode* n1, const SMDS_MeshNode* n2 )
+ : SMESH_TLink( n1, n2 ), _reversed( n1 != node1() ) {}
+};
2010-03-12 08:30:20 +00:00
eap
22395fddea
/*!
...
* \brief High level util for effective file reading and other file operations
*/
2010-03-12 08:26:13 +00:00
skl
3e93aa815a
Changes for bug 0020671.
2010-03-12 05:38:02 +00:00
skl
25722a6cdd
Changes for bug 0020734.
2010-03-11 09:36:56 +00:00
eap
0e70fe931b
fix FindFace() after the previous integration
2010-03-10 13:21:56 +00:00
eap
f4bf7b006c
- const SMDS_MeshFace *FindFace(std::vector<int> nodes_ids) const;
...
+ const SMDS_MeshFace *FindFace(const std::vector<int>& nodes_ids) const;
- static const SMDS_MeshFace* FindFace(std::vector<const SMDS_MeshNode *> nodes);
+ static const SMDS_MeshFace* FindFace(const std::vector<const SMDS_MeshNode *>& nodes);
2010-03-10 06:43:17 +00:00
skl
c2c2404862
Changes for bug 0020671.
2010-03-09 14:03:48 +00:00
eap
57a36ac547
0020682: EDF 1222 SMESH: 3D mesh from a skin mesh and with volumic cells
...
* Fix regression made at redesigning
2010-03-09 13:26:18 +00:00
eap
0811f1f0ea
a little optimize FindFace (std::vector<const SMDS_MeshNode *> nodes)
2010-03-09 08:17:43 +00:00
eap
78364113e1
0020714: EDF GHS3DPLUGIN: shapeToMesh when creating 3D mesh from 2D mesh
...
* Fix GetPointState()
2010-03-05 11:13:07 +00:00
eap
8781de04b7
set Kernel_Utils::Localizer before calling algo->Compute()
2010-03-05 07:42:20 +00:00
eap
e1e680f157
0020714: EDF GHS3DPLUGIN: shapeToMesh when creating 3D mesh from 2D mesh
...
* Add function to find out if the given point is out of closed 2D mesh.
+ virtual TopAbs_State GetPointState(const gp_Pnt& point);
2010-03-04 14:05:05 +00:00
eap
4fadfe037a
0020714: EDF GHS3DPLUGIN: shapeToMesh when creating 3D mesh from 2D mesh
...
* Fix FaceNormal()
* Add
+ static std::vector< const SMDS_MeshNode*> GetCommonNodes(const SMDS_MeshElement* e1,
+ const SMDS_MeshElement* e2);
2010-03-04 13:57:50 +00:00
eap
8ac52f19a5
remove commented code
2010-03-04 09:59:01 +00:00
eap
a59cbfc28e
Add a function to know kind of mesh element
...
+ EntityType GetElementGeomType( in long id )
2010-03-04 08:08:21 +00:00
eap
c0c6cee1a5
0020737: [CEA] Computing mesh fails
...
* Fix constructor from regression made in frames of issue 0020676
2010-03-04 07:30:41 +00:00
eap
859674eaf0
prevent MakeMesh() from crash if myShapeIDMap.IsEmpty()
2010-03-03 13:58:32 +00:00
skl
00c9fb50be
Changes for bug 0020753.
2010-03-03 11:01:36 +00:00
eap
f4222ec705
roll back
2010-03-03 09:07:23 +00:00
eap
f01d6dacd5
0020725: EDF 1242 SMESH : Crash avec Convert lin--> quad avec BLSURF/GHS3D on 64bits
...
0020721: EDF 1233 SMESH : Crash/bad behavior of 'Convert linear Quadratic with Medium Nodes on Geometry' feature with BLSurf/Ghs3D
* Fix GetNodeUV() for the case of surface both U and V periodic.
* Protect QFace::GetBoundaryLink() from infinite recursion.
* Protect QFace::GetLinkChain() from stack overflow.
2010-03-03 09:03:47 +00:00
eap
d5df7d3273
0020725: EDF 1242 SMESH : Crash avec Convert lin--> quad avec BLSURF/GHS3D on 64bits
...
0020721: EDF 1233 SMESH : Crash/bad behavior of 'Convert linear Quadratic with Medium Nodes on Geometry' feature with BLSurf/Ghs3D
* Fix GetNodeUV() for the case of surface both U and V periodic.
* Protect QFace::GetBoundaryLink() from infinite recursion.
* Protect QFace::GetLinkChain() from stack overflow.
2010-03-03 07:48:07 +00:00
skl
0af7b3cb3d
Changes for bug 0020671.
2010-03-03 07:23:24 +00:00
adam
4b41de2ff2
*** empty log message ***
2010-03-02 15:47:09 +00:00
eap
26a6f60422
fix comment
2010-03-02 06:47:35 +00:00
adam
45fd4efb6f
windows port
2010-03-01 14:15:48 +00:00
adam
226dd03db2
*** empty log message ***
2010-03-01 14:14:38 +00:00
dmv
12cb4bfcdd
Correct implementation of Max Subshape limiter.
2010-03-01 14:00:46 +00:00