1 // Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 // File : SMESH_BasicHypothesis.idl
24 // Author : Paul RASCLE, EDF
26 #ifndef _SMESH_BASICHYPOTHESIS_IDL_
27 #define _SMESH_BASICHYPOTHESIS_IDL_
29 #include "SALOME_Exception.idl"
30 #include "SMESH_Hypothesis.idl"
31 #include "SMESH_Mesh.idl"
34 * StdMeshers: interfaces to standard hypotheses and algorithms
39 * StdMeshers_LocalLength: interface of "Average length" hypothesis
41 interface StdMeshers_LocalLength : SMESH::SMESH_Hypothesis
44 * Sets <length> parameter value
46 void SetLength(in double length)
47 raises (SALOME::SALOME_Exception);
50 * Sets <precision> parameter value
52 * Precision parameter is used to allow rounding a number of segments,
53 * calculated from the edge length and average length of segment,
54 * to the lower integer, if this value outstands from it in bounds of the precision.
55 * Otherwise, the number of segments is rounded to the higher integer.
56 * Use value 0.5 to provide rounding to the nearest integer,
57 * 1.0 for the lower integer, 0.0 for the higher integer.
58 * Default value is 1e-07. In old studies, restored from file,
59 * this value will be set to zero, what corresponds to the old behaviour.
61 void SetPrecision(in double precision)
62 raises (SALOME::SALOME_Exception);
65 * Returns <length> parameter value
70 * Returns <precision> parameter value
72 double GetPrecision();
76 * StdMeshers_MaxLength: interface of "Max length" hypothesis
78 interface StdMeshers_MaxLength : SMESH::SMESH_Hypothesis
81 * Sets <length> parameter value
83 void SetLength(in double length)
84 raises (SALOME::SALOME_Exception);
86 * Returns <length> parameter value
90 * Returns true if preestemated length is defined
92 boolean HavePreestimatedLength();
94 * Returns preestemated length
96 double GetPreestimatedLength();
98 * Sets preestemated length
100 void SetPreestimatedLength(in double length);
102 * Sets boolean parameter enabling/desabling usage of length computed
103 * basing on size of bounding box of shape to mesh
105 void SetUsePreestimatedLength(in boolean toUse);
107 * Returns value of boolean parameter enabling/desabling usage of length computed
108 * basing on size of bounding box of shape to mesh
110 boolean GetUsePreestimatedLength();
114 * StdMeshers_AutomaticLength: interface of "Automatic length" hypothesis
116 interface StdMeshers_AutomaticLength : SMESH::SMESH_Hypothesis
119 * Sets Fineness parameter value
121 void SetFineness(in double theFineness)
122 raises (SALOME::SALOME_Exception);
125 * Returns <Fineness> parameter value
127 double GetFineness();
131 * StdMeshers_NumberOfSegments: interface of "Nb. Segments" hypothesis
133 interface StdMeshers_NumberOfSegments : SMESH::SMESH_Hypothesis
136 * Builds and returns point distribution according to passed density function
138 SMESH::double_array BuildDistributionExpr( in string func, in long nbSeg, in long conv )
139 raises (SALOME::SALOME_Exception);
140 SMESH::double_array BuildDistributionTab( in SMESH::double_array func, in long nbSeg, in long conv )
141 raises (SALOME::SALOME_Exception);
144 * Sets <number of segments> parameter value
146 void SetNumberOfSegments(in long segmentsNumber)
147 raises (SALOME::SALOME_Exception);
150 * Returns <number of segments> parameter value
152 long GetNumberOfSegments();
155 * Sets <distribution type> parameter value
157 void SetDistrType(in long typ)
158 raises (SALOME::SALOME_Exception);
161 * Returns <distribution type> parameter value
166 * Sets <scale factor> parameter value
168 void SetScaleFactor(in double scaleFactor)
169 raises (SALOME::SALOME_Exception);
172 * Returns <scale factor> parameter value
174 double GetScaleFactor()
175 raises (SALOME::SALOME_Exception);
178 * Sets <table function> parameter value for distribution DT_TabFunc
180 void SetTableFunction(in SMESH::double_array table)
181 raises (SALOME::SALOME_Exception);
184 * Returns <table function> parameter value for distribution DT_TabFunc
186 SMESH::double_array GetTableFunction()
187 raises (SALOME::SALOME_Exception);
190 * Sets <expression function> parameter value for distribution DT_ExprFunc
192 void SetExpressionFunction(in string expr)
193 raises (SALOME::SALOME_Exception);
196 * Returns <expression function> parameter value for distribution DT_ExprFunc
198 string GetExpressionFunction()
199 raises (SALOME::SALOME_Exception);
202 * Sets <conversion mode> parameter value for functional distributions
204 void SetConversionMode(in long conv )
205 raises (SALOME::SALOME_Exception);
208 * Returns <conversion mode> parameter value for functional distributions
210 long ConversionMode()
211 raises (SALOME::SALOME_Exception);
214 * Set list of edges to reverse
216 void SetReversedEdges( in SMESH::long_array list );
219 * Returns list of edges to reverse
221 SMESH::long_array GetReversedEdges();
224 * Set entry of the main object
226 void SetObjectEntry( in string entry );
229 * Get the entry of the main object
231 string GetObjectEntry();
235 * StdMeshers_Arithmetic1D: interface of "Arithmetic 1D" hypothesis
237 interface StdMeshers_Arithmetic1D : SMESH::SMESH_Hypothesis
240 * Sets <start segment length> or <end segment length> parameter value
241 * * OBSOLETE *. Avoid such a way of interface design
242 * * It is recommended to dedicate a method to each parameter.
244 void SetLength(in double length, in boolean isStartLength)
245 raises (SALOME::SALOME_Exception);
248 * Sets <start segment length> parameter value
250 void SetStartLength(in double length)
251 raises (SALOME::SALOME_Exception);
254 * Sets <end segment length> parameter value
256 void SetEndLength(in double length)
257 raises (SALOME::SALOME_Exception);
260 * Returns <start segment length> or <end segment length> parameter value
262 double GetLength(in boolean isStartLength);
265 * Set list of edges to reverse
267 void SetReversedEdges( in SMESH::long_array list );
270 * Returns list of edges to reverse
272 SMESH::long_array GetReversedEdges();
275 * Set entry of the main object
277 void SetObjectEntry( in string entry );
280 * Get the entry of the main object
282 string GetObjectEntry();
286 * StdMeshers_MaxElementArea: interface of "Max. Triangle Area" hypothesis
288 interface StdMeshers_MaxElementArea : SMESH::SMESH_Hypothesis
291 * Sets <maximum element area> parameter value
293 void SetMaxElementArea(in double area)
294 raises (SALOME::SALOME_Exception);
297 * Returns <maximum element area> parameter value
299 double GetMaxElementArea();
303 * StdMeshers_LengthFromEdges: interface of "Length From Edges (2D Hyp. for Triangulator)" hypothesis
305 interface StdMeshers_LengthFromEdges : SMESH::SMESH_Hypothesis
308 * Sets <mode> parameter value
310 void SetMode(in long mode)
311 raises (SALOME::SALOME_Exception);
314 * Returns <mode> parameter value
320 * StdMeshers_StartEndLength: interface of "Start and End Length" hypothesis
322 interface StdMeshers_StartEndLength : SMESH::SMESH_Hypothesis
325 * Sets <start segment length> or <end segment length> parameter value
326 * * OBSOLETE *. Avoid such a way of interface design.
327 * * It is recommended to dedicate a method to each parameter.
329 void SetLength(in double length, in boolean isStartLength)
330 raises (SALOME::SALOME_Exception);
333 * Sets <start segment length> parameter value
335 void SetStartLength(in double length)
336 raises (SALOME::SALOME_Exception);
339 * Sets <end segment length> parameter value
341 void SetEndLength(in double length)
342 raises (SALOME::SALOME_Exception);
345 * Returns <start segment length> or <end segment length> parameter value
347 double GetLength(in boolean isStartLength);
350 * Set list of edges to reverse
352 void SetReversedEdges( in SMESH::long_array list );
355 * Returns list of edges to reverse
357 SMESH::long_array GetReversedEdges();
360 * Set entry of the main object
362 void SetObjectEntry( in string entry );
365 * Get the entry of the main object
367 string GetObjectEntry();
372 * StdMeshers_Deflection1D: interface of "Deflection 1D" hypothesis
374 interface StdMeshers_Deflection1D : SMESH::SMESH_Hypothesis
377 * Sets <deflection> parameter value
379 void SetDeflection(in double deflection)
380 raises (SALOME::SALOME_Exception);
383 * Returns <deflection> parameter value
385 double GetDeflection();
389 * StdMeshers_FixedPoints1D: interface of "Fixed points 1D" hypothesis
391 interface StdMeshers_FixedPoints1D : SMESH::SMESH_Hypothesis
394 * Sets some points on edge using parameter on curve from 0 to 1
395 * (additionally it is neecessary to check orientation of edges and
396 * create list of reversed edges if it is needed) and sets numbers
397 * of segments between given points (default values are equals 1)
399 void SetPoints(in SMESH::double_array listParams)
400 raises (SALOME::SALOME_Exception);
401 void SetNbSegments(in SMESH::long_array listNbSeg)
402 raises (SALOME::SALOME_Exception);
405 * Returns list of point's parameters
407 SMESH::double_array GetPoints();
410 * Returns list of numbers of segments
412 SMESH::long_array GetNbSegments();
415 * Set list of edges to reverse
417 void SetReversedEdges( in SMESH::long_array list );
420 * Returns list of edges to reverse
422 SMESH::long_array GetReversedEdges();
425 * Set entry of the main object
427 void SetObjectEntry( in string entry );
430 * Get the entry of the main object
432 string GetObjectEntry();
436 * StdMeshers_Adaptive1D: interface of "Adaptive" hypothesis
438 interface StdMeshers_Adaptive1D : SMESH::SMESH_Hypothesis
441 * Sets minimal allowed segment length
443 void SetMinSize(in double minSegLen) raises (SALOME::SALOME_Exception);
447 * Sets maximal allowed segment length
449 void SetMaxSize(in double maxSegLen) raises (SALOME::SALOME_Exception);
453 * Sets <deflection> parameter value,
454 * i.e. a maximal allowed distance between a segment and an edge.
456 void SetDeflection(in double deflection) raises (SALOME::SALOME_Exception);
457 double GetDeflection();
461 * StdMeshers_MaxElementVolume: interface of "Max. Hexahedron or Tetrahedron Volume" hypothesis
463 interface StdMeshers_MaxElementVolume : SMESH::SMESH_Hypothesis
466 * Sets <maximum element volume> parameter value
468 void SetMaxElementVolume(in double volume)
469 raises (SALOME::SALOME_Exception);
472 * Returns <maximum element volume> parameter value
474 double GetMaxElementVolume();
478 * StdMeshers_NotConformAllowed: interface of "Not Conform Mesh Allowed" hypothesis.
479 * Presence of this hypothesis permits to algorithm generation of not conform mesh.
481 interface StdMeshers_NotConformAllowed : SMESH::SMESH_Hypothesis
486 * StdMeshers_Propagation: interface of "Propagation" hypothesis.
487 * Presence of this hypothesis on any edge propagates any other 1D
488 * hypothesis from this edge on all edges, opposite to it.
489 * It concerns only edges of quadrangle faces.
491 interface StdMeshers_Propagation : SMESH::SMESH_Hypothesis
496 * StdMeshers_QuadranglePreference: interface of "QuadranglePreference" hypothesis.
497 * This hypothesis is used by StdMeshers_Quadrangle_2D algorithm.
498 * Presence of this hypothesis forces construction of quadrangles if the number
499 * of nodes on opposite edges is not the same in the case where the global number
500 * of nodes on edges is even
502 interface StdMeshers_QuadranglePreference : SMESH::SMESH_Hypothesis
507 * StdMeshers_QuadraticMesh: interface of "QuadraticMesh" hypothesis.
508 * This is an auxiliary 1D hypothesis whose presence forces construction
509 * of quadratic edges.
510 * If the 2D mesher sees that all boundary edges are quadratic ones,
511 * it generates quadratic faces, else it generates linear faces using
512 * medium nodes as if they were vertex ones.
513 * The 3D mesher generates quadratic volumes only if all boundary faces
514 * are quadratic ones, else it fails.
516 interface StdMeshers_QuadraticMesh : SMESH::SMESH_Hypothesis
522 * StdMeshers_NumberOfLayers: interface of "Nb. Layers" hypothesis.
523 * This hypothesis is used by "Radial prism" algorithm.
524 * It specifies number of segments between the internal
525 * and the external surfaces.
527 interface StdMeshers_NumberOfLayers : SMESH::SMESH_Hypothesis
530 * Sets <number of segments> parameter value
532 void SetNumberOfLayers(in long numberOfLayers)
533 raises (SALOME::SALOME_Exception);
536 * Returns <number of layers> parameter value
538 long GetNumberOfLayers();
543 * StdMeshers_LayerDistribution: interface of "Distribution of Layers" hypothesis.
544 * This hypothesis is used by "Radial prism" algorithm.
545 * It specifies 1D hypothesis defining distribution of segments between the internal
546 * and the external surfaces.
548 interface StdMeshers_LayerDistribution : SMESH::SMESH_Hypothesis
551 * Sets 1D hypothesis specifying distribution of layers
553 void SetLayerDistribution(in SMESH::SMESH_Hypothesis distributionHyp)
554 raises (SALOME::SALOME_Exception);
557 * Returns 1D hypothesis specifying distribution of layers
559 SMESH::SMESH_Hypothesis GetLayerDistribution();
564 * StdMeshers_NumberOfLayers2D: interface of "Nb. Layers" hypothesis.
565 * This hypothesis is used by "Radial quadrangle" algorithm.
566 * It specifies number of segments between the internal
567 * and the external surfaces.
569 interface StdMeshers_NumberOfLayers2D : StdMeshers_NumberOfLayers
574 * StdMeshers_LayerDistribution2D: interface of "Distribution of Layers" hypothesis.
575 * This hypothesis is used by "Radial quadrangle" algorithm.
576 * It specifies 1D hypothesis defining distribution of segments between the internal
577 * and the external surfaces.
579 interface StdMeshers_LayerDistribution2D : StdMeshers_LayerDistribution
584 * interface of "ProjectionSource1D" hypothesis.
585 * This hypothesis specifies a meshed edge to take a mesh pattern from
586 * and optionally association of vertices between the source edge and a
587 * target one (where a hipothesis is assigned to)
589 interface StdMeshers_ProjectionSource1D : SMESH::SMESH_Hypothesis
592 * Sets source <edge> to take a mesh pattern from
594 void SetSourceEdge(in GEOM::GEOM_Object edge)
595 raises (SALOME::SALOME_Exception);
598 * Returns the source edge
600 GEOM::GEOM_Object GetSourceEdge();
603 * Sets source <mesh> to take a mesh pattern from
605 void SetSourceMesh(in SMESH::SMESH_Mesh mesh);
610 SMESH::SMESH_Mesh GetSourceMesh();
613 * Sets vertex association between the source edge and the target one.
614 * This parameter is optional
616 void SetVertexAssociation(in GEOM::GEOM_Object sourceVertex,
617 in GEOM::GEOM_Object targetVertex)
618 raises (SALOME::SALOME_Exception);
621 * Returns the vertex associated with the target vertex.
622 * Result may be nil if association not set
624 GEOM::GEOM_Object GetSourceVertex();
627 * Returns the vertex associated with the source vertex.
628 * Result may be nil if association not set
630 GEOM::GEOM_Object GetTargetVertex();
634 * interface of "ProjectionSource2D" hypothesis.
635 * This hypothesis specifies a meshed face to take a mesh pattern from
636 * and optionally association of vertices between the source face and a
637 * target one (where a hipothesis is assigned to)
639 interface StdMeshers_ProjectionSource2D : SMESH::SMESH_Hypothesis
642 * Sets a source <face> to take a mesh pattern from
644 void SetSourceFace(in GEOM::GEOM_Object face)
645 raises (SALOME::SALOME_Exception);
648 * Returns the source face
650 GEOM::GEOM_Object GetSourceFace();
653 * Sets source <mesh> to take a mesh pattern from
655 void SetSourceMesh(in SMESH::SMESH_Mesh mesh);
660 SMESH::SMESH_Mesh GetSourceMesh();
663 * Sets vertex association between the source face and the target one.
664 * This parameter is optional.
665 * Two vertices must belong to one edge of a face
667 void SetVertexAssociation(in GEOM::GEOM_Object sourceVertex1,
668 in GEOM::GEOM_Object sourceVertex2,
669 in GEOM::GEOM_Object targetVertex1,
670 in GEOM::GEOM_Object targetVertex2)
671 raises (SALOME::SALOME_Exception);
674 * Returns the <i>-th source vertex associated with the <i>-th target vertex.
675 * Result may be nil if association not set.
676 * Valid indices are 1 and 2
678 GEOM::GEOM_Object GetSourceVertex(in long i)
679 raises (SALOME::SALOME_Exception);
682 * Returns the <i>-th target vertex associated with the <i>-th source vertex.
683 * Result may be nil if association not set.
684 * Valid indices are 1 and 2
686 GEOM::GEOM_Object GetTargetVertex(in long i)
687 raises (SALOME::SALOME_Exception);
691 * interface of "ProjectionSource3D" hypothesis.
692 * This hypothesis specifies a meshed shell or solid to take a mesh pattern from
693 * and optionally association of vertices between the source shape and a
694 * target one (where a hipothesis is assigned to)
696 interface StdMeshers_ProjectionSource3D : SMESH::SMESH_Hypothesis
699 * Sets a source <shape> to take a mesh pattern from
701 void SetSource3DShape(in GEOM::GEOM_Object shape)
702 raises (SALOME::SALOME_Exception);
705 * Returns the source shape
707 GEOM::GEOM_Object GetSource3DShape();
710 * Sets source <mesh> to take a mesh pattern from
712 void SetSourceMesh(in SMESH::SMESH_Mesh mesh);
717 SMESH::SMESH_Mesh GetSourceMesh();
720 * Sets vertex association between the source shape and the target one.
721 * This parameter is optional.
722 * Two vertices must belong to one edge of a shape
724 void SetVertexAssociation(in GEOM::GEOM_Object sourceVertex1,
725 in GEOM::GEOM_Object sourceVertex2,
726 in GEOM::GEOM_Object targetVertex1,
727 in GEOM::GEOM_Object targetVertex2)
728 raises (SALOME::SALOME_Exception);
731 * Returns the <i>-th source vertex associated with the <i>-th target vertex.
732 * Result may be nil if association not set.
733 * Valid indices are 1 and 2
735 GEOM::GEOM_Object GetSourceVertex(in long i)
736 raises (SALOME::SALOME_Exception);
739 * Returns the <i>-th target vertex associated with the <i>-th source vertex.
740 * Result may be nil if association not set.
741 * Valid indices are 1 and 2
743 GEOM::GEOM_Object GetTargetVertex(in long i)
744 raises (SALOME::SALOME_Exception);
748 * interface of "SegmentLengthAroundVertex" hypothesis.
749 * This hypothesis specifies length of segments adjacent to the vertex the
750 * hypothesis is assigned to
752 interface StdMeshers_SegmentLengthAroundVertex : SMESH::SMESH_Hypothesis
755 * Sets <length> parameter value
757 void SetLength(in double length)
758 raises (SALOME::SALOME_Exception);
761 * Returns <length> parameter value
767 * StdMeshers_QuadrangleParams: interface of "Quadrangle Params" hypothesis
773 QUAD_QUADRANGLE_PREF,
774 QUAD_QUADRANGLE_PREF_REVERSED,
776 QUAD_NB_TYPES /* this is not a type of quadrangulation */
779 interface StdMeshers_QuadrangleParams : SMESH::SMESH_Hypothesis
782 * Set base vertex for triangles
784 void SetTriaVertex( in long vertID );
787 * Returns base vertex for triangles
789 long GetTriaVertex();
792 * Set entry of the main object
794 void SetObjectEntry( in string entry );
797 * Get the entry of the main object
799 string GetObjectEntry();
802 * Set the type of quadrangulation
804 void SetQuadType( in QuadType type );
807 * Get the type of quadrangulation
809 QuadType GetQuadType();
813 * interface of "Source edges" hypothesis.
814 * This hypothesis specifies groups of edges of other mesh to be imported
817 interface StdMeshers_ImportSource1D : SMESH::SMESH_Hypothesis
820 * Set edges to import from other mesh
822 void SetSourceEdges(in SMESH::ListOfGroups groups);
823 SMESH::string_array GetSourceEdges();
826 * Set to import the whole other mesh or not, and if yes, to
827 * copy groups of not. By default the mesh is not copied.
829 void SetCopySourceMesh(in boolean toCopyMesh, in boolean toCopyGroups);
830 void GetCopySourceMesh(out boolean toCopyMesh,out boolean toCopyGroups);
834 * interface of "Source faces" hypothesis.
835 * This hypothesis specifies groups of faces of other mesh to be imported
838 interface StdMeshers_ImportSource2D : SMESH::SMESH_Hypothesis
841 * Set faces to import from other mesh
843 void SetSourceFaces(in SMESH::ListOfGroups groups);
844 SMESH::string_array GetSourceFaces();
847 * Set to import the whole other mesh or not, and if yes, to
848 * copy groups of not. By default the mesh is not copied.
850 void SetCopySourceMesh(in boolean toCopyMesh,in boolean toCopyGroups);
851 void GetCopySourceMesh(out boolean toCopyMesh,out boolean toCopyGroups);
855 * interface of "Viscous Layers" hypothesis.
856 * This hypothesis specifies parameters of layers of prisms to build
857 * near mesh boundary. This hypothesis can be used by several 3D algorithms:
858 * NETGEN 3D, GHS3D, Hexahedron(i,j,k)
860 interface StdMeshers_ViscousLayers : SMESH::SMESH_Hypothesis
863 * Set faces to exclude from treatment
865 void SetIgnoreFaces(in SMESH::long_array faceIDs) raises (SALOME::SALOME_Exception);
866 SMESH::long_array GetIgnoreFaces();
869 * Set total thickness of layers of prisms
871 void SetTotalThickness(in double thickness) raises (SALOME::SALOME_Exception);
872 double GetTotalThickness();
875 * Set number of layers of prisms
877 void SetNumberLayers(in short nb) raises (SALOME::SALOME_Exception);
878 short GetNumberLayers();
881 * Set factor (>1.0) of growth of layer thickness towards inside of mesh
883 void SetStretchFactor(in double factor) raises (SALOME::SALOME_Exception);
884 double GetStretchFactor();
888 * interface of "Viscous Layers 2D" hypothesis.
889 * This hypothesis specifies parameters of layers of quadrilaterals to build
890 * near mesh boundary. This hypothesis can be used by several 2D algorithms:
891 * Mefisto, Quadrangle (mapping), NETGEN, BLSURF
893 interface StdMeshers_ViscousLayers2D : SMESH::SMESH_Hypothesis
896 * Set edges to exclude from treatment
898 void SetIgnoreEdges(in SMESH::long_array edgeIDs) raises (SALOME::SALOME_Exception);
899 SMESH::long_array GetIgnoreEdges();
902 * Set edges either to exclude from treatment or to make the Viscous Layers on.
904 void SetEdges(in SMESH::long_array edgeIDs,
905 in boolean toIgnore) raises (SALOME::SALOME_Exception);
906 SMESH::long_array GetEdges();
907 boolean GetIsToIgnoreEdges();
910 * Set total thickness of layers of prisms
912 void SetTotalThickness(in double thickness) raises (SALOME::SALOME_Exception);
913 double GetTotalThickness();
916 * Set number of layers of prisms
918 void SetNumberLayers(in short nb) raises (SALOME::SALOME_Exception);
919 short GetNumberLayers();
922 * Set factor (>1.0) of growth of layer thickness towards inside of mesh
924 void SetStretchFactor(in double factor) raises (SALOME::SALOME_Exception);
925 double GetStretchFactor();
929 * interface of "Body fitting Parameters" hypothesis.
930 * This hypothesis specifies
931 * - Definition of the Cartesian grid
934 interface StdMeshers_CartesianParameters3D : SMESH::SMESH_Hypothesis
937 * Set size threshold. A polyhedral cell got by cutting an initial
938 * hexahedron by geometry boundary is considered small and is removed if
939 * it's size is \athreshold times less than the size of the initial hexahedron.
940 * threshold must be > 1.0
942 void SetSizeThreshold(in double threshold) raises (SALOME::SALOME_Exception);
943 double GetSizeThreshold();
946 * \brief Return true if the grid is defined by spacing functions and
947 * not by node coordinates in given direction (X==0,...)
949 boolean IsGridBySpacing(in short axis);
952 * Set coordinates of nodes along an axis (countered from zero)
954 void SetGrid(in SMESH::double_array coords,
955 in short axis) raises (SALOME::SALOME_Exception);
956 SMESH::double_array GetGrid(in short axis) raises (SALOME::SALOME_Exception);
959 * \brief Set grid spacing along an axis
960 * \param spaceFunctions - functions defining spacing values at given point on axis
961 * \param internalPoints - points dividing a grid into parts along an axis
962 * \param axis - index of an axis counterd from zero, i.e. 0==X, 1==Y, 2==Z
964 * Parameter t of spaceFunction f(t) is a position [0,1] withing bounding box of
965 * the shape to mesh or withing an interval defined by internal points
967 void SetGridSpacing(in SMESH::string_array spaceFunctions,
968 in SMESH::double_array internalPoints,
969 in short axis) raises (SALOME::SALOME_Exception);
971 void GetGridSpacing(out SMESH::string_array spaceFunctions,
972 out SMESH::double_array internalPoints,
973 in short axis) raises (SALOME::SALOME_Exception);
976 * \brief Computes node coordinates by spacing functions
977 * \param x0 - lower coordinate
978 * \param x1 - upper coordinate
979 * \param spaceFuns - space functions
980 * \param points - internal points
981 * \param coords - the computed coordinates
983 SMESH::double_array ComputeCoordinates(in double x0,
985 in SMESH::string_array spaceFuns,
986 in SMESH::double_array points,
987 in string axisName ) raises (SALOME::SALOME_Exception);
991 * StdMeshers_SegmentAroundVertex_0D: interface of "SegmentAroundVertex" algorithm
993 interface StdMeshers_SegmentAroundVertex_0D : SMESH::SMESH_0D_Algo
998 * StdMeshers_Regular_1D: interface of "Wire discretisation" algorithm
1000 interface StdMeshers_Regular_1D : SMESH::SMESH_1D_Algo
1005 * StdMeshers_CompositeSegment_1D: interface of "Composite side discretisation" algorithm
1007 interface StdMeshers_CompositeSegment_1D : SMESH::SMESH_1D_Algo
1012 * StdMeshers_MEFISTO_2D: interface of "Triangle (Mefisto)" algorithm
1014 interface StdMeshers_MEFISTO_2D : SMESH::SMESH_2D_Algo
1019 * StdMeshers_Quadrangle_2D: interface of "Quadrangle (Mapping)" algorithm
1021 interface StdMeshers_Quadrangle_2D : SMESH::SMESH_2D_Algo
1026 * StdMeshers_Hexa_3D: interface of "Hexahedron (i,j,k)" algorithm
1028 interface StdMeshers_Hexa_3D : SMESH::SMESH_3D_Algo
1033 * StdMeshers_Prism_3D: interface of "3D extrusion" algorithm
1035 interface StdMeshers_Prism_3D : SMESH::SMESH_3D_Algo
1040 * StdMeshers_RadialPrism_3D: interface of "Radial Prism" algorithm
1042 interface StdMeshers_RadialPrism_3D : SMESH::SMESH_3D_Algo
1047 * StdMeshers_Projection_3D: interface of "Projection 3D" algorithm
1049 interface StdMeshers_Projection_3D : SMESH::SMESH_3D_Algo
1054 * StdMeshers_Projection_2D: interface of "Projection 2D" algorithm
1056 interface StdMeshers_Projection_2D : SMESH::SMESH_2D_Algo
1061 * StdMeshers_Projection_1D2D: interface of "Projection 1D-2D" algorithm
1063 interface StdMeshers_Projection_1D2D : SMESH::SMESH_2D_Algo
1068 * StdMeshers_Projection_1D: interface of "Projection 1D" algorithm
1070 interface StdMeshers_Projection_1D : SMESH::SMESH_1D_Algo
1075 * StdMeshers_UseExisting_2D: interface of "UseExisting 2D" algorithm
1076 * doing nothing to allow mesh generation by mesh edition functions in TUI mode
1078 interface StdMeshers_UseExisting_2D : SMESH::SMESH_2D_Algo
1083 * StdMeshers_UseExisting_1D: interface of "UseExisting 1D" algorithm
1084 * doing nothing to allow mesh generation by mesh edition functions in TUI mode
1086 interface StdMeshers_UseExisting_1D : SMESH::SMESH_1D_Algo
1091 * StdMeshers_RadialQuadrangle_1D2D: interface of "Radial quadrangle" algorithm
1093 interface StdMeshers_RadialQuadrangle_1D2D : SMESH::SMESH_2D_Algo
1098 * StdMeshers_Import_1D2D: interface of "Use existing 2D elements" algorithm
1100 interface StdMeshers_Import_1D2D : SMESH::SMESH_2D_Algo
1104 * StdMeshers_Import_1D: interface of "Use existing 1D elements" algorithm
1106 interface StdMeshers_Import_1D : SMESH::SMESH_1D_Algo
1110 * StdMeshers_Cartesian_3D: interface of "Body fitting" algorithm
1112 interface StdMeshers_Cartesian_3D : SMESH::SMESH_3D_Algo