Commit Graph

1101 Commits

Author SHA1 Message Date
nge
7d5045f287 Adding support for native products of recent Linux Distribs :
- Debian Sid (Sep 2009)
- (K)Ubuntu 9.04
2009-09-17 16:24:09 +00:00
dmv
a4e0e20f3c IPAL21374 Add 0D element leads to visualization failure. 2009-09-17 13:18:43 +00:00
eap
69aebe3a10 untabify 2009-09-17 12:22:15 +00:00
vsr
b7cae6675f IPAL21367: Fix problems with the Fixed Points widget: addition of same values should be disabled 2009-09-17 11:56:45 +00:00
ptv
0aa24a2835 syntax corrections 2009-09-17 07:40:10 +00:00
eap
794e4ede5b untabify 2009-09-17 07:27:34 +00:00
vsr
9d9581ea13 Add missing mention about 0D elements 2009-09-16 16:26:34 +00:00
eap
2fbf8d55b0 untabify 2009-09-16 12:59:00 +00:00
ptv
e6a2527b22 IPAL21340 2009-09-16 07:20:43 +00:00
vsr
023c31a79e Fix problem with documentation 2009-09-16 07:02:13 +00:00
vsr
ba086e70a8 0020431 (Fix problem with help page) 2009-09-16 07:00:48 +00:00
skl
6de0067382 Changed for 0019296 (Evaluation). 2009-09-16 06:13:07 +00:00
vsr
7c72475a3a 0020310: EDF 997 SMESH : Tell the mesh to pass through different points
Fixed problem with help page.
2009-09-15 16:34:26 +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
dmv
067947492f 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse 2009-09-15 14:16:35 +00:00
skl
3e09f90deb Changed for 0020431. 2009-09-15 13:32:29 +00:00
dmv
ab21216f10 IPAL21340 Compute leads to Unknown Exception if No available data in selection. 2009-09-15 13:25:02 +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
dmv
a89c4cb333 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse 2009-09-15 13:00:06 +00:00
ptv
0f691b4cc1 0020310: EDF 997 SMESH : Tell the mesh to pass through different points
Edit sub mesh with hypothesis, but without algos.
It is necessary tocheck is there are any comparing of strings as "char* == char*" but HOW?
2009-09-15 12:42:32 +00:00
asl
cf2a8cec1c 0020378: selection is empty after "cancel" in the hypothesis edition dialog box 2009-09-15 12:20:05 +00:00
eap
8d7286fc5d untabify 2009-09-15 08:46:22 +00:00
ptv
4c604aa712 avoid FPE exception 2009-09-15 07:51:41 +00:00
adam
7a2dff55c5 Use the f2c flag when trte.f is compiled with f2c 2009-09-14 14:13:38 +00:00
adam
6e510e8582 Windows port 2009-09-14 14:02:45 +00:00
vsr
5f21fe20f5 Issue 0020474: Symbols multi-defined in SMESHimpl.dll 2009-09-14 13:21:39 +00:00
eap
44f899d82d 0020463: EDF 1099 SMESH: performance regression from V4 to V5
Remove memory leaks and optimize ParseParameters()
2009-09-14 13:05:16 +00:00
eap
ed0a000310 untabify 2009-09-14 12:00:44 +00:00
skl
489c1e114f Corrected for 0020310. 2009-09-11 12:10:55 +00:00
dmv
8ef6ac2097 0020378: EDF 1042 SMESH : Gui of SMESH hypothesis not multi-study 2009-09-11 11:37:47 +00:00
eap
53254ff3ed untabify 2009-09-10 16:11:08 +00:00
eap
0244669837 untabify 2009-09-10 15:29:29 +00:00
ptv
4ce8e26285 0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh 2009-09-10 12:57:35 +00:00
eap
9c4c09606e untabify 2009-09-10 12:51:28 +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
c062549cea echo ---------------------------------------------
-echo Coniguring production
+echo Configuring production
 echo ---------------------------------------------
 echo
 AC_ENABLE_DEBUG(yes)
2009-09-10 11:11:30 +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
eap
e4bbd9cf6a - CORBA::Long SMESH_MeshEditor_i::FindNodeClosestTo(CORBA::Double x,
-                                                    CORBA::Double y,
-                                                    CORBA::Double z);
+  CORBA::Long FindNodeClosestTo(CORBA::Double x,
+                                CORBA::Double y,
+                                CORBA::Double z);
2009-09-10 08:07:28 +00:00
eap
7e8c1c603d untabify 2009-09-10 07:19:24 +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
8772f598d6 untabify 2009-09-10 06:50:30 +00:00
eap
c15f8d1936 - some memory leaks 2009-09-10 06:02:38 +00:00
eap
38fb650b9e 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

     def FindNodeClosestTo(self, x, y, z):
-        preview = self.mesh.GetMeshEditPreviewer()
-        return preview.MoveClosestNodeToPoint(x, y, z, -1)
+        #preview = self.mesh.GetMeshEditPreviewer()
+        #return preview.MoveClosestNodeToPoint(x, y, z, -1)
+        return self.editor.FindNodeClosestTo(x, y, z)

+    ## Finds the elements where a point lays IN or ON
+    #  @param x  the X coordinate of a point
+    #  @param y  the Y coordinate of a point
+    #  @param z  the Z coordinate of a point
+    #  @param elementType type of elements to find (SMESH.ALL type
+    #         means elements of any type excluding nodes and 0D elements)
+    #  @return list of IDs of found elements
+    #  @ingroup l2_modif_throughp
+    def FindElementsByPoint(self, x, y, z, elementType = SMESH.ALL):
+        return self.editor.FindElementsByPoint(x, y, z, elementType)
+
2009-09-10 05:54:04 +00:00
eap
7756cec8c7 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
+    /*!
+     * Return ID of node closest to a given point
+     */
+    long FindNodeClosestTo(in double x, in double y, in double z);
+

0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

+    /*!
+     * 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
+     */
+    long_array FindElementsByPoint(in double x, in double y, in double z, in ElementType type);
+
2009-09-10 05:52:11 +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
58a4d3cca6 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
+    /*!
+     * Return ID of node closest to a given point
+     */
+    long FindNodeClosestTo(in double x, in double y, in double z);
+

0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

+    /*!
+     * 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
+     */
+    long_array FindElementsByPoint(in double x, in double y, in double z, in ElementType type);
+
2009-09-10 05:40:45 +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
ba741219df 0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
+  bool IsOut(double X, double Y, double Z, double tol);
+  // Classify a point
2009-09-10 05:19:01 +00:00