Version: 9.16.0
SMESH_BasicHypothesis.idl
Go to the documentation of this file.
1// Copyright (C) 2007-2026 CEA, EDF, OPEN CASCADE
2//
3// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5//
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, or (at your option) any later version.
10//
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.
15//
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
19//
20// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21//
22
23// File : SMESH_BasicHypothesis.idl
24// Author : Paul RASCLE, EDF
25//
26#ifndef _SMESH_BASICHYPOTHESIS_IDL_
27#define _SMESH_BASICHYPOTHESIS_IDL_
28
29#include "GEOM_Gen.idl"
30
31#include "SALOME_Exception.idl"
32#include "SMESH_Hypothesis.idl"
33#include "SMESH_Mesh.idl"
37module StdMeshers
38{
43 {
47 void SetLength(in double length)
48 raises (SALOME::SALOME_Exception);
49
62 void SetPrecision(in double precision)
63 raises (SALOME::SALOME_Exception);
64
68 double GetLength();
69
73 double GetPrecision();
74 };
75
80 {
84 void SetLength(in double length)
85 raises (SALOME::SALOME_Exception);
89 double GetLength();
101 void SetPreestimatedLength(in double length);
106 void SetUsePreestimatedLength(in boolean toUse);
112 };
113
118 {
122 void SetFineness(in double theFineness)
123 raises (SALOME::SALOME_Exception);
124
128 double GetFineness();
129 };
130
134 interface Reversible1D
135 {
140
145
149 void SetObjectEntry( in string entry );
150
155 };
156
161 {
165 SMESH::double_array BuildDistributionExpr( in string func, in long nbSeg, in long conv )
166 raises (SALOME::SALOME_Exception);
167 SMESH::double_array BuildDistributionTab( in SMESH::double_array func, in long nbSeg, in long conv )
168 raises (SALOME::SALOME_Exception);
169
173 void SetNumberOfSegments(in SMESH::smIdType segmentsNumber)
174 raises (SALOME::SALOME_Exception);
175
180
184 void SetDistrType(in long typ)
185 raises (SALOME::SALOME_Exception);
186
191
195 void SetScaleFactor(in double scaleFactor)
196 raises (SALOME::SALOME_Exception);
197
202 raises (SALOME::SALOME_Exception);
203
207 void SetBeta(in double beta)
208 raises (SALOME::SALOME_Exception);
209
213 double GetBeta()
214 raises (SALOME::SALOME_Exception);
215
220 raises (SALOME::SALOME_Exception);
221
226 raises (SALOME::SALOME_Exception);
227
231 void SetExpressionFunction(in string expr)
232 raises (SALOME::SALOME_Exception);
233
238 raises (SALOME::SALOME_Exception);
239
243 void SetConversionMode(in long conv )
244 raises (SALOME::SALOME_Exception);
245
250 raises (SALOME::SALOME_Exception);
251 };
252
257 {
263 void SetLength(in double length, in boolean isStartLength)
264 raises (SALOME::SALOME_Exception);
265
269 void SetStartLength(in double length)
270 raises (SALOME::SALOME_Exception);
271
275 void SetEndLength(in double length)
276 raises (SALOME::SALOME_Exception);
277
281 double GetLength(in boolean isStartLength);
282
283 };
284
289 {
293 void SetStartLength(in double length)
294 raises (SALOME::SALOME_Exception);
295
299 void SetCommonRatio(in double factor)
300 raises (SALOME::SALOME_Exception);
301
306
311
312 };
313
318 {
322 void SetMaxElementArea(in double area)
323 raises (SALOME::SALOME_Exception);
324
329 };
330
335 {
339 void SetMode(in long mode)
340 raises (SALOME::SALOME_Exception);
341
345 long GetMode();
346 };
347
352 {
358 void SetLength(in double length, in boolean isStartLength)
359 raises (SALOME::SALOME_Exception);
360
364 void SetStartLength(in double length)
365 raises (SALOME::SALOME_Exception);
366
370 void SetEndLength(in double length)
371 raises (SALOME::SALOME_Exception);
372
376 double GetLength(in boolean isStartLength);
377
378 };
379
380
385 {
389 void SetDeflection(in double deflection)
390 raises (SALOME::SALOME_Exception);
391
396 };
397
402 {
409 void SetPoints(in SMESH::double_array listParams)
410 raises (SALOME::SALOME_Exception);
412 raises (SALOME::SALOME_Exception);
413
418
423
424 };
425
430 {
434 void SetMinSize(in double minSegLen) raises (SALOME::SALOME_Exception);
435 double GetMinSize();
436
440 void SetMaxSize(in double maxSegLen) raises (SALOME::SALOME_Exception);
441 double GetMaxSize();
442
447 void SetDeflection(in double deflection) raises (SALOME::SALOME_Exception);
449 };
450
455 {
459 void SetMaxElementVolume(in double volume)
460 raises (SALOME::SALOME_Exception);
461
466 };
467
473 {
474 };
475
484 {
485 };
486
495 {
496 };
497
506 {
507 };
508
520 {
521 };
522
523
531 {
535 void SetNumberOfLayers(in long numberOfLayers)
536 raises (SALOME::SALOME_Exception);
537
542
543 };
544
552 {
557 raises (SALOME::SALOME_Exception);
558
563
564 };
565
573 {
574 };
575
583 {
584 };
585
593 {
597 void SetSourceEdge(in GEOM::GEOM_Object edge)
598 raises (SALOME::SALOME_Exception);
599
603 GEOM::GEOM_Object GetSourceEdge();
604
609
614
619 void SetVertexAssociation(in GEOM::GEOM_Object sourceVertex,
620 in GEOM::GEOM_Object targetVertex)
621 raises (SALOME::SALOME_Exception);
622
627 GEOM::GEOM_Object GetSourceVertex();
628
633 GEOM::GEOM_Object GetTargetVertex();
634 };
635
643 {
647 void SetSourceFace(in GEOM::GEOM_Object face)
648 raises (SALOME::SALOME_Exception);
649
653 GEOM::GEOM_Object GetSourceFace();
654
659
664
670 void SetVertexAssociation(in GEOM::GEOM_Object sourceVertex1,
671 in GEOM::GEOM_Object sourceVertex2,
672 in GEOM::GEOM_Object targetVertex1,
673 in GEOM::GEOM_Object targetVertex2)
674 raises (SALOME::SALOME_Exception);
675
681 GEOM::GEOM_Object GetSourceVertex(in long i)
682 raises (SALOME::SALOME_Exception);
683
689 GEOM::GEOM_Object GetTargetVertex(in long i)
690 raises (SALOME::SALOME_Exception);
691 };
692
700 {
704 void SetSource3DShape(in GEOM::GEOM_Object shape)
705 raises (SALOME::SALOME_Exception);
706
710 GEOM::GEOM_Object GetSource3DShape();
711
716
721
727 void SetVertexAssociation(in GEOM::GEOM_Object sourceVertex1,
728 in GEOM::GEOM_Object sourceVertex2,
729 in GEOM::GEOM_Object targetVertex1,
730 in GEOM::GEOM_Object targetVertex2)
731 raises (SALOME::SALOME_Exception);
732
738 GEOM::GEOM_Object GetSourceVertex(in long i)
739 raises (SALOME::SALOME_Exception);
740
746 GEOM::GEOM_Object GetTargetVertex(in long i)
747 raises (SALOME::SALOME_Exception);
748 };
749
756 {
760 void SetLength(in double length)
761 raises (SALOME::SALOME_Exception);
762
766 double GetLength();
767 };
768
773 {
779 QUAD_NB_TYPES /* this is not a type of quadrangulation */
780 };
781
783 {
787 void SetTriaVertex( in long vertID );
788
793
797 void SetObjectEntry( in string entry );
798
803
807 void SetQuadType( in QuadType type );
808
813
817 void SetEnforcedNodes(in GEOM::ListOfGO vertices, in SMESH::nodes_array points)
818 raises (SALOME::SALOME_Exception);
819
823 void GetEnforcedNodes(out GEOM::ListOfGO vertices, out SMESH::nodes_array points);
824
829
833 void SetCorners( in SMESH::long_array vertexIDs );
834
839 };
840
847 {
853
858 void SetCopySourceMesh(in boolean toCopyMesh, in boolean toCopyGroups);
859 void GetCopySourceMesh(out boolean toCopyMesh,out boolean toCopyGroups);
860 };
861
868 {
874
879 void SetCopySourceMesh(in boolean toCopyMesh,in boolean toCopyGroups);
880 void GetCopySourceMesh(out boolean toCopyMesh,out boolean toCopyGroups);
881 };
882
887 // node is translated along normal to a surface with possible further smoothing
889 // node is translated along the average normal of surrounding faces till
890 // intersection with a neighbor face translated along its own normal
891 // by the layers thickness
893 // node is translated along the average normal of surrounding faces
894 // by the layers thickness
896 };
897
905 {
909 void SetIgnoreFaces(in SMESH::long_array faceIDs) raises (SALOME::SALOME_Exception);
911
916 in boolean toIgnore) raises (SALOME::SALOME_Exception);
919
923 void SetTotalThickness(in double thickness) raises (SALOME::SALOME_Exception);
925
929 void SetNumberLayers(in short nb) raises (SALOME::SALOME_Exception);
931
935 void SetStretchFactor(in double factor) raises (SALOME::SALOME_Exception);
937
940
941 void SetGroupName(in string name);
942 string GetGroupName();
943 };
944
952 {
956 void SetIgnoreEdges(in SMESH::long_array edgeIDs) raises (SALOME::SALOME_Exception);
958
962 void SetEdges(in SMESH::long_array edgeIDs,
963 in boolean toIgnore) raises (SALOME::SALOME_Exception);
966
970 void SetTotalThickness(in double thickness) raises (SALOME::SALOME_Exception);
972
976 void SetNumberLayers(in short nb) raises (SALOME::SALOME_Exception);
978
982 void SetStretchFactor(in double factor) raises (SALOME::SALOME_Exception);
984
985 void SetGroupName(in string name);
986 string GetGroupName();
987 };
988
997 {
1004 void SetSizeThreshold(in double threshold) raises (SALOME::SALOME_Exception);
1006
1011 boolean IsGridBySpacing(in short axis);
1012
1017 in short axis) raises (SALOME::SALOME_Exception);
1018 SMESH::double_array GetGrid(in short axis) raises (SALOME::SALOME_Exception);
1019
1029 void SetGridSpacing(in SMESH::string_array spaceFunctions,
1030 in SMESH::double_array internalPoints,
1031 in short axis) raises (SALOME::SALOME_Exception);
1032
1033 void GetGridSpacing(out SMESH::string_array spaceFunctions,
1034 out SMESH::double_array internalPoints,
1035 in short axis) raises (SALOME::SALOME_Exception);
1040 in SMESH::DirStruct y,
1041 in SMESH::DirStruct z ) raises (SALOME::SALOME_Exception);
1043 out SMESH::DirStruct y,
1044 out SMESH::DirStruct z );
1049 void SetFixedPoint(in SMESH::PointStruct p, in boolean toUnset);
1051
1057 void SetToAddEdges(in boolean toAdd);
1058 boolean GetToAddEdges();
1059
1063 void SetToConsiderInternalFaces(in boolean toTreat);
1065
1071
1075 void SetToCreateFaces(in boolean toCreate);
1077
1081 void SetToUseQuanta(in boolean toUseQuanta);
1083
1084 void SetQuanta(in double quanta) raises (SALOME::SALOME_Exception);
1085 double GetQuanta();
1086
1090 void ComputeOptimalAxesDirs(in GEOM::GEOM_Object shape,
1091 in boolean isOrthogonal,
1092 out SMESH::DirStruct x,
1093 out SMESH::DirStruct y,
1094 out SMESH::DirStruct z )
1095 raises (SALOME::SALOME_Exception);
1096
1107 in double x1,
1108 in SMESH::string_array spaceFuns,
1109 in SMESH::double_array points,
1110 in string axisName )
1111 raises (SALOME::SALOME_Exception);
1112 };
1113
1114
1119 struct BlockCS // Local coordinate system of a block
1120 {
1121 GEOM::GEOM_Object solid;
1122 GEOM::GEOM_Object vertex000;
1123 GEOM::GEOM_Object vertex001;
1124 };
1125 typedef sequence<BlockCS> blockcs_array;
1126
1128 {
1131 };
1132
1137 {
1138 };
1139
1144 {
1145 };
1146
1151 {
1152 };
1153
1158 {
1159 };
1160
1165 {
1166 };
1167
1172 {
1173 };
1174
1179 {
1180 };
1181
1186 {
1187 };
1188
1193 {
1194 };
1195
1200 {
1201 };
1202
1207 {
1208 };
1209
1214 {
1215 };
1216
1221 {
1222 };
1223
1228 {
1229 };
1230
1236 {
1237 };
1238
1244 {
1245 };
1246
1251 {
1252 };
1253
1258 {
1259 };
1264 {
1265 };
1270 {
1271 };
1276 {
1280 void SetIgnoreFaces(in SMESH::long_array faceIDs) raises (SALOME::SALOME_Exception);
1281 // SMESH::long_array GetIgnoreFaces();
1282
1287 in boolean toIgnore) raises (SALOME::SALOME_Exception);
1288 // SMESH::long_array GetFaces();
1289 // boolean GetIsToIgnoreFaces();
1290
1291 void SetTotalThickness(in double thickness) raises (SALOME::SALOME_Exception);
1292 void SetNumberLayers(in short numberOfLayers ) raises (SALOME::SALOME_Exception);
1293 void SetStretchFactor(in double strechFactor ) raises (SALOME::SALOME_Exception);
1294 void SetMethod( in VLExtrusionMethod how ) raises (SALOME::SALOME_Exception);
1295 void SetGroupName(in string name) raises (SALOME::SALOME_Exception);
1296
1297 GEOM::GEOM_Object GetShrinkGeometry( in SMESH::SMESH_Mesh finalMesh, in GEOM::GEOM_Object theObject ) raises (SALOME::SALOME_Exception);
1298
1302 boolean AddLayers( in SMESH::SMESH_Mesh sourceMesh, in SMESH::SMESH_Mesh finalMesh, in GEOM::GEOM_Object theObject ) raises (SALOME::SALOME_Exception);
1303
1304 };
1305
1306};
1307
1308#endif
static double deflection(const GeomAdaptor_Curve &theCurve, double theU1, double theU2)
Evaluate curve deflection between two points.
Definition: StdMeshers_Deflection1D.cxx:157
@ QUAD_STANDARD
Definition: StdMeshers_QuadrangleParams.hxx:36
@ QUAD_QUADRANGLE_PREF
Definition: StdMeshers_QuadrangleParams.hxx:38
@ QUAD_REDUCED
Definition: StdMeshers_QuadrangleParams.hxx:40
@ QUAD_QUADRANGLE_PREF_REVERSED
Definition: StdMeshers_QuadrangleParams.hxx:39
@ QUAD_NB_TYPES
Definition: StdMeshers_QuadrangleParams.hxx:41
@ QUAD_TRIANGLE_PREF
Definition: StdMeshers_QuadrangleParams.hxx:37
Definition: SMESH_Hypothesis.hxx:48
virtual void SetBeta(double scaleFactor)
Set beta coefficient for Beta Law distribution.
void SetTableFunction(const std::vector< double > &table)
Set table function for distribution DT_TabFunc.
int ConversionMode() const
Returns conversion mode.
Definition: StdMeshers_NumberOfSegments.cxx:514
const char * GetExpressionFunction() const
Get expression function for distribution DT_ExprFunc.
Definition: StdMeshers_NumberOfSegments.cxx:483
const std::vector< double > & GetTableFunction() const
Get table function for distribution DT_TabFunc.
Definition: StdMeshers_NumberOfSegments.cxx:320
void SetConversionMode(int conv)
Set conversion mode.
Definition: StdMeshers_NumberOfSegments.cxx:496
void SetExpressionFunction(const char *expr)
Set expression function for distribution DT_ExprFunc.
Definition: StdMeshers_NumberOfSegments.cxx:423
double GetBeta() const
Get beta coefficient for Beta Law distribution.
Definition: StdMeshers_NumberOfSegments.cxx:243
Definition: SMESH_Hypothesis.idl:111
Definition: SMESH_Hypothesis.idl:118
Definition: SMESH_Hypothesis.idl:125
Definition: SMESH_Hypothesis.idl:132
Definition: SMESH_Hypothesis.idl:45
Definition: SMESH_Mesh.idl:338
Common interface of 1D hypotheses that can be reversed.
Definition: SMESH_BasicHypothesis.idl:135
void SetObjectEntry(in string entry)
Set entry of the main object.
void SetReversedEdges(in SMESH::long_array list)
Set list of edges to reverse.
string GetObjectEntry()
Get the entry of the main object.
SMESH::long_array GetReversedEdges()
Returns list of edges to reverse.
StdMeshers_Adaptive1D: interface of "Adaptive" hypothesis.
Definition: SMESH_BasicHypothesis.idl:430
void SetMaxSize(in double maxSegLen)
Sets maximal allowed segment length.
void SetMinSize(in double minSegLen)
Sets minimal allowed segment length.
void SetDeflection(in double deflection)
Sets <deflection> parameter value, i.e.
StdMeshers_Arithmetic1D: interface of "Arithmetic 1D" hypothesis.
Definition: SMESH_BasicHypothesis.idl:257
void SetStartLength(in double length)
Sets <start segment length> parameter value.
double GetLength(in boolean isStartLength)
Returns <start segment length> or <end segment length> parameter value.
void SetLength(in double length, in boolean isStartLength)
Sets <start segment length> or <end segment length> parameter value.
void SetEndLength(in double length)
Sets <end segment length> parameter value.
StdMeshers_AutomaticLength: interface of "Automatic length" hypothesis.
Definition: SMESH_BasicHypothesis.idl:118
double GetFineness()
Returns <Fineness> parameter value.
void SetFineness(in double theFineness)
Sets Fineness parameter value.
Definition: SMESH_BasicHypothesis.idl:1128
void SetBlocksOrientation(in blockcs_array blockCS)
interface of "Body fitting Parameters" hypothesis.
Definition: SMESH_BasicHypothesis.idl:997
void GetAxesDirs(out SMESH::DirStruct x, out SMESH::DirStruct y, out SMESH::DirStruct z)
void SetToConsiderInternalFaces(in boolean toTreat)
Enable treatment of geom faces, either shared by solids or internal.
void GetGridSpacing(out SMESH::string_array spaceFunctions, out SMESH::double_array internalPoints, in short axis)
SMESH::double_array ComputeCoordinates(in double x0, in double x1, in SMESH::string_array spaceFuns, in SMESH::double_array points, in string axisName)
Compute node coordinates by spacing functions.
void SetFixedPoint(in SMESH::PointStruct p, in boolean toUnset)
Set/unset a fixed point, at which a node will be created provided that grid is defined by spacing in ...
void SetToUseThresholdForInternalFaces(in boolean toUse)
Enable applying size threshold to grid cells cut by internal geom faces.
void SetSizeThreshold(in double threshold)
Set size threshold.
SMESH::double_array GetGrid(in short axis)
boolean IsGridBySpacing(in short axis)
Return true if the grid is defined by spacing functions and not by node coordinates in given directio...
void SetGrid(in SMESH::double_array coords, in short axis)
Set coordinates of nodes along an axis (countered from zero)
void ComputeOptimalAxesDirs(in GEOM::GEOM_Object shape, in boolean isOrthogonal, out SMESH::DirStruct x, out SMESH::DirStruct y, out SMESH::DirStruct z)
Return axes at which a number of generated hexahedra is maximal.
void SetToUseQuanta(in boolean toUseQuanta)
Enable creation of mesh faces.
void SetToCreateFaces(in boolean toCreate)
Enable creation of mesh faces.
void SetAxesDirs(in SMESH::DirStruct x, in SMESH::DirStruct y, in SMESH::DirStruct z)
Set custom direction of axes.
void SetGridSpacing(in SMESH::string_array spaceFunctions, in SMESH::double_array internalPoints, in short axis)
Set grid spacing along an axis.
void SetToAddEdges(in boolean toAdd)
Enable implementation of geometrical edges into the mesh.
boolean GetFixedPoint(out SMESH::PointStruct p)
StdMeshers_Cartesian_3D: interface of "Body fitting" algorithm.
Definition: SMESH_BasicHypothesis.idl:1270
StdMeshers_CompositeSegment_1D: interface of "Composite side discretisation" algorithm.
Definition: SMESH_BasicHypothesis.idl:1151
StdMeshers_Deflection1D: interface of "Deflection 1D" hypothesis.
Definition: SMESH_BasicHypothesis.idl:385
void SetDeflection(in double deflection)
Sets <deflection> parameter value.
double GetDeflection()
Returns <deflection> parameter value.
StdMeshers_FixedPoints1D: interface of "Fixed points 1D" hypothesis.
Definition: SMESH_BasicHypothesis.idl:402
SMESH::double_array GetPoints()
Returns list of point's parameters.
void SetPoints(in SMESH::double_array listParams)
Sets some points on edge using parameter on curve from 0 to 1 (additionally it is neecessary to check...
SMESH::smIdType_array GetNbSegments()
Returns list of numbers of segments.
void SetNbSegments(in SMESH::smIdType_array listNbSeg)
StdMeshers_Arithmetic1D: interface of "Geometric 1D" hypothesis.
Definition: SMESH_BasicHypothesis.idl:289
void SetCommonRatio(in double factor)
Sets value of Common Ratio.
double GetCommonRatio()
Returns value of Common Ratio.
void SetStartLength(in double length)
Sets length of the first segment.
double GetStartLength()
Returns length of the first segment.
StdMeshers_Hexa_3D: interface of "Hexahedron (i,j,k)" algorithm.
Definition: SMESH_BasicHypothesis.idl:1186
interface of "Source edges" hypothesis.
Definition: SMESH_BasicHypothesis.idl:847
void SetSourceEdges(in SMESH::ListOfGroups groups)
Set edges to import from other mesh.
void SetCopySourceMesh(in boolean toCopyMesh, in boolean toCopyGroups)
Set to import the whole other mesh or not, and if yes, to copy groups of not.
void GetCopySourceMesh(out boolean toCopyMesh, out boolean toCopyGroups)
SMESH::string_array GetSourceEdges()
interface of "Source faces" hypothesis.
Definition: SMESH_BasicHypothesis.idl:868
SMESH::string_array GetSourceFaces()
void GetCopySourceMesh(out boolean toCopyMesh, out boolean toCopyGroups)
void SetCopySourceMesh(in boolean toCopyMesh, in boolean toCopyGroups)
Set to import the whole other mesh or not, and if yes, to copy groups of not.
void SetSourceFaces(in SMESH::ListOfGroups groups)
Set faces to import from other mesh.
StdMeshers_Import_1D2D: interface of "Use existing 2D elements" algorithm.
Definition: SMESH_BasicHypothesis.idl:1258
StdMeshers_Import_1D: interface of "Use existing 1D elements" algorithm.
Definition: SMESH_BasicHypothesis.idl:1264
StdMeshers_LayerDistribution2D: interface of "Distribution of Layers" hypothesis.
Definition: SMESH_BasicHypothesis.idl:583
StdMeshers_LayerDistribution: interface of "Distribution of Layers" hypothesis.
Definition: SMESH_BasicHypothesis.idl:552
SMESH::SMESH_Hypothesis GetLayerDistribution()
Returns 1D hypothesis specifying distribution of layers.
void SetLayerDistribution(in SMESH::SMESH_Hypothesis distributionHyp)
Sets 1D hypothesis specifying distribution of layers.
StdMeshers_LengthFromEdges: interface of "Length From Edges (2D Hyp. for Triangulator)" hypothesis.
Definition: SMESH_BasicHypothesis.idl:335
long GetMode()
Returns <mode> parameter value.
void SetMode(in long mode)
Sets <mode> parameter value.
StdMeshers_LocalLength: interface of "Average length" hypothesis.
Definition: SMESH_BasicHypothesis.idl:43
double GetPrecision()
Returns <precision> parameter value.
void SetLength(in double length)
Sets <length> parameter value.
void SetPrecision(in double precision)
Sets <precision> parameter value.
double GetLength()
Returns <length> parameter value.
StdMeshers_MaxElementArea: interface of "Max. Triangle Area" hypothesis.
Definition: SMESH_BasicHypothesis.idl:318
void SetMaxElementArea(in double area)
Sets <maximum element area> parameter value.
double GetMaxElementArea()
Returns <maximum element area> parameter value.
StdMeshers_MaxElementVolume: interface of "Max. Hexahedron or Tetrahedron Volume" hypothesis.
Definition: SMESH_BasicHypothesis.idl:455
double GetMaxElementVolume()
Returns <maximum element volume> parameter value.
void SetMaxElementVolume(in double volume)
Sets <maximum element volume> parameter value.
StdMeshers_MaxLength: interface of "Max length" hypothesis.
Definition: SMESH_BasicHypothesis.idl:80
void SetLength(in double length)
Sets <length> parameter value.
double GetLength()
Returns <length> parameter value.
void SetUsePreestimatedLength(in boolean toUse)
Sets boolean parameter enabling/disabling usage of length computed basing on size of bounding box of ...
void SetPreestimatedLength(in double length)
Sets preestemated length.
double GetPreestimatedLength()
Returns preestemated length.
boolean HavePreestimatedLength()
Returns true if preestemated length is defined.
boolean GetUsePreestimatedLength()
Returns value of boolean parameter enabling/disabling usage of length computed basing on size of boun...
StdMeshers_NotConformAllowed: interface of "Not Conform Mesh Allowed" hypothesis.
Definition: SMESH_BasicHypothesis.idl:473
StdMeshers_NumberOfLayers2D: interface of "Nb. Layers" hypothesis.
Definition: SMESH_BasicHypothesis.idl:573
StdMeshers_NumberOfLayers: interface of "Nb. Layers" hypothesis.
Definition: SMESH_BasicHypothesis.idl:531
long GetNumberOfLayers()
Returns <number of layers> parameter value.
void SetNumberOfLayers(in long numberOfLayers)
Sets <number of segments> parameter value.
StdMeshers_NumberOfSegments: interface of "Nb. Segments" hypothesis.
Definition: SMESH_BasicHypothesis.idl:161
void SetScaleFactor(in double scaleFactor)
Sets <scale factor> parameter value.
SMESH::double_array BuildDistributionTab(in SMESH::double_array func, in long nbSeg, in long conv)
void SetNumberOfSegments(in SMESH::smIdType segmentsNumber)
Sets <number of segments> parameter value.
long GetNumberOfSegments()
Returns <number of segments> parameter value.
double GetScaleFactor()
Returns <scale factor> parameter value.
SMESH::double_array BuildDistributionExpr(in string func, in long nbSeg, in long conv)
Builds and returns point distribution according to passed density function.
void SetDistrType(in long typ)
Sets <distribution type> parameter value.
long GetDistrType()
Returns <distribution type> parameter value.
StdMeshers_PolygonPerFace_2D: interface of "Polygon Per Face" 2D algorithm.
Definition: SMESH_BasicHypothesis.idl:1172
StdMeshers_PolyhedronPerSolid_3D: interface of "Polyhedron Per Solid" 3D algorithm.
Definition: SMESH_BasicHypothesis.idl:1179
StdMeshers_Prism_3D: interface of "3D extrusion" algorithm.
Definition: SMESH_BasicHypothesis.idl:1193
interface of "ProjectionSource1D" hypothesis.
Definition: SMESH_BasicHypothesis.idl:593
GEOM::GEOM_Object GetSourceEdge()
Returns the source edge.
void SetVertexAssociation(in GEOM::GEOM_Object sourceVertex, in GEOM::GEOM_Object targetVertex)
Sets vertex association between the source edge and the target one.
SMESH::SMESH_Mesh GetSourceMesh()
Return source mesh.
GEOM::GEOM_Object GetSourceVertex()
Returns the vertex associated with the target vertex.
void SetSourceMesh(in SMESH::SMESH_Mesh mesh)
Sets source <mesh> to take a mesh pattern from.
GEOM::GEOM_Object GetTargetVertex()
Returns the vertex associated with the source vertex.
void SetSourceEdge(in GEOM::GEOM_Object edge)
Sets source <edge> to take a mesh pattern from.
interface of "ProjectionSource2D" hypothesis.
Definition: SMESH_BasicHypothesis.idl:643
SMESH::SMESH_Mesh GetSourceMesh()
Return source mesh.
GEOM::GEOM_Object GetSourceVertex(in long i)
Returns the -th source vertex associated with the -th target vertex.
GEOM::GEOM_Object GetSourceFace()
Returns the source face.
void SetVertexAssociation(in GEOM::GEOM_Object sourceVertex1, in GEOM::GEOM_Object sourceVertex2, in GEOM::GEOM_Object targetVertex1, in GEOM::GEOM_Object targetVertex2)
Sets vertex association between the source face and the target one.
GEOM::GEOM_Object GetTargetVertex(in long i)
Returns the -th target vertex associated with the -th source vertex.
void SetSourceFace(in GEOM::GEOM_Object face)
Sets a source <face> to take a mesh pattern from.
void SetSourceMesh(in SMESH::SMESH_Mesh mesh)
Sets source <mesh> to take a mesh pattern from.
interface of "ProjectionSource3D" hypothesis.
Definition: SMESH_BasicHypothesis.idl:700
void SetSourceMesh(in SMESH::SMESH_Mesh mesh)
Sets source <mesh> to take a mesh pattern from.
GEOM::GEOM_Object GetSource3DShape()
Returns the source shape.
void SetSource3DShape(in GEOM::GEOM_Object shape)
Sets a source <shape> to take a mesh pattern from.
void SetVertexAssociation(in GEOM::GEOM_Object sourceVertex1, in GEOM::GEOM_Object sourceVertex2, in GEOM::GEOM_Object targetVertex1, in GEOM::GEOM_Object targetVertex2)
Sets vertex association between the source shape and the target one.
GEOM::GEOM_Object GetTargetVertex(in long i)
Returns the -th target vertex associated with the -th source vertex.
SMESH::SMESH_Mesh GetSourceMesh()
Return source mesh.
GEOM::GEOM_Object GetSourceVertex(in long i)
Returns the -th source vertex associated with the -th target vertex.
StdMeshers_Projection_1D2D: interface of "Projection 1D-2D" algorithm.
Definition: SMESH_BasicHypothesis.idl:1221
StdMeshers_Projection_1D: interface of "Projection 1D" algorithm.
Definition: SMESH_BasicHypothesis.idl:1228
StdMeshers_Projection_2D: interface of "Projection 2D" algorithm.
Definition: SMESH_BasicHypothesis.idl:1214
StdMeshers_Projection_3D: interface of "Projection 3D" algorithm.
Definition: SMESH_BasicHypothesis.idl:1207
StdMeshers_Propagation: interface of "Propagation of Node Distribution on Opposite Edges" hypothesis.
Definition: SMESH_BasicHypothesis.idl:495
StdMeshers_Propagation: interface of "Propagation of 1D Hyp.
Definition: SMESH_BasicHypothesis.idl:484
StdMeshers_QuadFromMedialAxis_1D2D: interface of "Quadrangle (Medial Axis Projection)" algorithm.
Definition: SMESH_BasicHypothesis.idl:1165
Definition: SMESH_BasicHypothesis.idl:783
void SetEnforcedNodes(in GEOM::ListOfGO vertices, in SMESH::nodes_array points)
Set positions of enforced nodes.
void SetQuadType(in QuadType type)
Set the type of quadrangulation.
string GetObjectEntry()
Get the entry of the main object.
void SetObjectEntry(in string entry)
Set entry of the main object.
void GetEnforcedNodes(out GEOM::ListOfGO vertices, out SMESH::nodes_array points)
Returns positions of enforced nodes.
void SetTriaVertex(in long vertID)
Set base vertex for triangles.
long GetTriaVertex()
Returns base vertex for triangles.
QuadType GetQuadType()
Get the type of quadrangulation.
void SetCorners(in SMESH::long_array vertexIDs)
Set corner vertices.
SMESH::long_array GetCorners()
Return IDs of corner vertices.
SMESH::string_array GetEnfVertices()
Returns entries of shapes defining enforced nodes.
StdMeshers_QuadranglePreference: interface of "QuadranglePreference" hypothesis.
Definition: SMESH_BasicHypothesis.idl:506
StdMeshers_Quadrangle_2D: interface of "Quadrangle (Mapping)" algorithm.
Definition: SMESH_BasicHypothesis.idl:1158
StdMeshers_QuadraticMesh: interface of "QuadraticMesh" hypothesis.
Definition: SMESH_BasicHypothesis.idl:520
StdMeshers_RadialPrism_3D: interface of "Radial Prism" algorithm.
Definition: SMESH_BasicHypothesis.idl:1200
StdMeshers_RadialQuadrangle_1D2D: interface of "Radial quadrangle" algorithm.
Definition: SMESH_BasicHypothesis.idl:1251
StdMeshers_Regular_1D: interface of "Wire discretisation" algorithm.
Definition: SMESH_BasicHypothesis.idl:1144
StdMeshers_SegmentAroundVertex_0D: interface of "SegmentAroundVertex" algorithm.
Definition: SMESH_BasicHypothesis.idl:1137
interface of "SegmentLengthAroundVertex" hypothesis.
Definition: SMESH_BasicHypothesis.idl:756
void SetLength(in double length)
Sets <length> parameter value.
double GetLength()
Returns <length> parameter value.
StdMeshers_StartEndLength: interface of "Start and End Length" hypothesis.
Definition: SMESH_BasicHypothesis.idl:352
void SetEndLength(in double length)
Sets <end segment length> parameter value.
void SetStartLength(in double length)
Sets <start segment length> parameter value.
void SetLength(in double length, in boolean isStartLength)
Sets <start segment length> or <end segment length> parameter value.
double GetLength(in boolean isStartLength)
Returns <start segment length> or <end segment length> parameter value.
StdMeshers_UseExisting_1D: interface of "UseExisting 1D" algorithm doing nothing to allow mesh genera...
Definition: SMESH_BasicHypothesis.idl:1244
StdMeshers_UseExisting_2D: interface of "UseExisting 2D" algorithm doing nothing to allow mesh genera...
Definition: SMESH_BasicHypothesis.idl:1236
StdMeshers_Cartesian_3D: interface of "ViscousLayerBuilder" algorithm.
Definition: SMESH_BasicHypothesis.idl:1276
void SetFaces(in SMESH::long_array faceIDs, in boolean toIgnore)
Set faces either to exclude from treatment or to make the offset geometry on.
GEOM::GEOM_Object GetShrinkGeometry(in SMESH::SMESH_Mesh finalMesh, in GEOM::GEOM_Object theObject)
void SetIgnoreFaces(in SMESH::long_array faceIDs)
Set faces to exclude from the definition of face to shrink.
void SetNumberLayers(in short numberOfLayers)
void SetTotalThickness(in double thickness)
void SetStretchFactor(in double strechFactor)
void SetMethod(in VLExtrusionMethod how)
boolean AddLayers(in SMESH::SMESH_Mesh sourceMesh, in SMESH::SMESH_Mesh finalMesh, in GEOM::GEOM_Object theObject)
Build the prismatic layer from the shrink mesh.
interface of "Viscous Layers 2D" hypothesis.
Definition: SMESH_BasicHypothesis.idl:952
void SetIgnoreEdges(in SMESH::long_array edgeIDs)
Set edges to exclude from treatment.
void SetNumberLayers(in short nb)
Set number of layers of prisms.
void SetTotalThickness(in double thickness)
Set total thickness of layers of prisms.
void SetEdges(in SMESH::long_array edgeIDs, in boolean toIgnore)
Set edges either to exclude from treatment or to make the Viscous Layers on.
void SetStretchFactor(in double factor)
Set factor (>=1.0) of growth of layer thickness towards inside of mesh.
interface of "Viscous Layers" hypothesis.
Definition: SMESH_BasicHypothesis.idl:905
void SetMethod(in VLExtrusionMethod how)
void SetIgnoreFaces(in SMESH::long_array faceIDs)
Set faces to exclude from treatment.
void SetNumberLayers(in short nb)
Set number of layers of prisms.
void SetFaces(in SMESH::long_array faceIDs, in boolean toIgnore)
Set faces either to exclude from treatment or to make the Viscous Layers on.
void SetTotalThickness(in double thickness)
Set total thickness of layers of prisms.
void SetStretchFactor(in double factor)
Set factor (>=1.0) of growth of layer thickness towards inside of mesh.
sequence< double > double_array
Definition: SMESH_Homard.idl:30
Definition: SMESH_ControlsClassifier.cxx:39
sequence< smIdType > smIdType_array
Definition: SMESH_Mesh.idl:45
sequence< double > double_array
Definition: SMESH_Mesh.idl:43
sequence< string > string_array
Definition: SMESH_Mesh.idl:46
sequence< SMESH_GroupBase > ListOfGroups
Definition: SMESH_Mesh.idl:39
sequence< PointStruct > nodes_array
Definition: SMESH_Mesh.idl:97
sequence< long > long_array
Definition: SMESH_Mesh.idl:44
StdMeshers: interfaces to standard hypotheses and algorithms.
Definition: StdMeshers_Cartesian_3D_Grid.hxx:120
VLExtrusionMethod
Method of computing translation of a node at Viscous Layers construction.
Definition: SMESH_BasicHypothesis.idl:886
@ NODE_OFFSET
Definition: SMESH_BasicHypothesis.idl:895
@ FACE_OFFSET
Definition: SMESH_BasicHypothesis.idl:892
@ SURF_OFFSET_SMOOTH
Definition: SMESH_BasicHypothesis.idl:888
sequence< BlockCS > blockcs_array
Definition: SMESH_BasicHypothesis.idl:1125
QuadType
StdMeshers_QuadrangleParams: interface of "Quadrangle Params" hypothesis.
Definition: SMESH_BasicHypothesis.idl:773
Definition: SMESH_Mesh.idl:99
Definition: SMESH_Mesh.idl:93
interface of "Renumber" hypothesis used by Hexahedron(ijk) algorithm to renumber mesh of a block to b...
Definition: SMESH_BasicHypothesis.idl:1120
GEOM::GEOM_Object vertex000
Definition: SMESH_BasicHypothesis.idl:1122
GEOM::GEOM_Object vertex001
Definition: SMESH_BasicHypothesis.idl:1123
GEOM::GEOM_Object solid
Definition: SMESH_BasicHypothesis.idl:1121