Commit Graph

1090 Commits

Author SHA1 Message Date
dmv
74d78f1c8b 0018911: EDF 661 SMESH : to be able to mesh a prismal shape as a revolution of meshed surface 2010-05-04 06:54:32 +00:00
eap
564a749ee3 Compute(), better presentation in case of multiple errors 2010-04-30 12:00:24 +00:00
eap
80d4e38b71 in Compute(), protect from exceptions while searching subshape name 2010-04-30 08:21:21 +00:00
eap
cbf08eab3a in Compute(), show compute error as well as hypotheses errors 2010-04-30 08:12:00 +00:00
eap
929a0adbce 0020855: [CEA] Problem with ijk algo
* Fix uninitialized gravity center
-      gp_XYZ gc;
+      gp_XYZ gc(0,0,0);
2010-04-30 06:41:17 +00:00
eap
c1f92a4104 0020852: [CEA] V5_1_4_BR - script fails
* correctly initialize fields used for non-uniformally parametrized edges
   in the case of degenerated edges
2010-04-29 07:08:00 +00:00
dmv
0ce85afd2c IPAL21710 TC5.1.4: Dialog doesn't show mesh info 2010-04-28 12:32:02 +00:00
san
d533443d30 Issue 0020580: Correcting documentation for user preferences 2010-04-28 07:50:25 +00:00
dmv
fd25c844b1 IPAL21396 Quadrangle parameters Hypothesis Construction Bugs. 2010-04-27 11:57:40 +00:00
eap
b81483e2d9 PAL21717: default values of hypothesis for sub-mesh
Use default hyp value if submesh is not meshed
2010-04-27 09:42:53 +00:00
eap
48bd54b61b PAL21718: Composite Side Discretisation 1D Algorithm works incorrently with attached shape.
* Avoid pb with internal edges
2010-04-27 09:25:36 +00:00
eap
29e4ddd7e5 PAL21718: Composite Side Discretisation 1D Algorithm works incorrently with attached shape.
GeomAbs_Shape SMESH_Algo::Continuity(TopoDS_Edge E1,
                                     TopoDS_Edge E2)
{
+  E1.Orientation(TopAbs_FORWARD), E2.Orientation(TopAbs_FORWARD); // avoid pb with internal edges
2010-04-27 09:24:04 +00:00
eap
c823ef454d PAL21685: Fatal error after save/open study with Edit group as standalone group
* protect SObjectToObject() from exception in case of invalid IOR
2010-04-27 06:37:28 +00:00
eap
2a69c947b9 PAL21685: Fatal error after save/open study with Edit group as standalone group
* register new CORBA object for persistence at group conversion
2010-04-27 06:35:56 +00:00
dmv
eae9e2af47 IPAL21303 ex15_cyl2geometry: mesh computation failed 2010-04-26 13:14:19 +00:00
vsr
e13ecc881a 0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached MED file
Additional fix for group labels actor color
2010-04-26 12:09:15 +00:00
san
cc96736255 Issue 0020580: on-line documentation for user preferences controlling precision 2010-04-23 15:33:57 +00:00
eap
603171f2af 0020849: [CEA] Projection 2D fails
* project by transformation in case if TopoDS_TFace's are different
2010-04-23 13:43:11 +00:00
eap
80430ffc71 Regress of 3D_mesh_NETGEN/G6 test
* add commented debug ouput
2010-04-22 13:34:55 +00:00
eap
7f18f75436 Regress of 3D_mesh_NETGEN/G6 test
* avoid pb that for internal node GCPnts_AbscissaPoint::Length() return value larger than total edge length
   * cash values used for work with non-uniformly paramtrized edges
2010-04-22 13:32:59 +00:00
adam
69157b62ee Fix compilation on windows ...
May be it can create problems on linux when linking to native libs
but in accordance with Vadim, I integrate this modification
and we will fix problem later if necessary.
2010-04-22 12:36:43 +00:00
eap
2ef5167c0a 0020843: EDF 1374 : SMESH Projection 2D + Extrusion 3D issue
* Modify for the case of quasi quadrilateral side face
2010-04-22 07:12:49 +00:00
eap
5e181bb5c5 0020843: EDF 1374 : SMESH Projection 2D + Extrusion 3D issue
* Rewrite LoadNodeColumns() to be usable in case of quasi quadrilateral face
2010-04-22 07:10:07 +00:00
vsr
84e136e74b Update copyright notes (for 2010) 2010-04-21 16:19:21 +00:00
jfa
7bf5240139 Mantis issue 0020422: EDF 1070 GEOM: Partition anomaly - REGRESSION from 4.1.x. 2010-04-21 12:46:40 +00:00
dmv
248783c7c7 0020847: EDF 1378 SMESH : Selection problem with symetry + translation 2010-04-21 06:32:54 +00:00
eap
2898854b35 0020838: EDF 1369 SMESH : Double elements generated
- Fix computeParamByFunc() for case where theReverse=true
2010-04-20 13:14:23 +00:00
adam
5de0556cb3 windows 2010-04-20 10:35:51 +00:00
adam
1b28505e85 *** empty log message *** 2010-04-19 15:14:27 +00:00
inv
1811168404 Changing version to 5.1.4 2010-04-19 10:47:01 +00:00
dmv
42e7938ff9 Improve Documentation style. 2010-04-08 11:04:09 +00:00
dmv
0fe4350ada IPAL21668 Call of Edit Group leads to Crash. 2010-04-08 07:52:18 +00:00
caremoli
df652e4ebf CCAR: wrong type id 2010-04-08 06:36:12 +00:00
dmv
3409f9be6c Improve documentation 2010-04-07 14:12:04 +00:00
san
845309d919 Issue 0020580: improved validation in integer and double spin boxes, possibility to adjust input field precision through preferences 2010-04-05 11:43:42 +00:00
eap
da4a6470be Rename to avoid clash with same name class from GEOM_Engine
-class ObjectStates{
+class SMESH_ObjectStates{
2010-03-31 05:56:30 +00:00
eap
204b3f755c Remove useless extra dump in DEBUG mode 2010-03-31 05:55:11 +00:00
eap
a232cd7e03 0020672: EDF 1243 SMESH : Be able to transform mixed mesh
+    void SplitVolumesIntoTetra(in SMESH_IDSource elems, in short methodFlags)
2010-03-30 12:38:16 +00:00
eap
01d2cde96d 0020672: EDF 1243 SMESH : Be able to transform mixed mesh
* Add "Split into Tetrahedra" operation
2010-03-30 12:36:23 +00:00
eap
0e2bac7865 0020672: EDF 1243 SMESH : Be able to transform mixed mesh
+  virtual int  NbCornerNodes() const;
2010-03-30 12:33:10 +00:00
eap
1f50f137e3 0020672: EDF 1243 SMESH : Be able to transform mixed mesh
* Implement GetFaceNodesIndices() for polyhedrons
2010-03-30 12:32:41 +00:00
eap
2705c10eb5 Move #include "SMESH_Algo.hxx" from hxx to cxx 2010-03-30 12:30:12 +00:00
eap
1d2d0b2f0a Use TXyzIterator in Preparation() 2010-03-30 12:29:24 +00:00
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