28 #ifndef _SMESH_PATTERN_IDL_
29 #define _SMESH_PATTERN_IDL_
32 #include "SMESH_smIdType.idl"
55 in GEOM::GEOM_Object theFace,
56 in
boolean theProject);
62 in GEOM::GEOM_Object theBlock);
71 in GEOM::GEOM_Object theVertexOnKeyPoint1,
72 in
boolean theReverse);
81 in GEOM::GEOM_Object theVertex000,
82 in GEOM::GEOM_Object theVertex001);
91 in
short theNodeIndexOnKeyPoint1,
92 in
boolean theReverse);
103 in
short theNode000Index,
104 in
short theNode001Index);
115 in
boolean CreatePolygons,
116 in
boolean CreatePolyedrs);
@ ERR_MAKEM_NOT_COMPUTED
Definition: SMESH_Pattern.hxx:196
Definition: SMESH_Mesh.idl:338
SMESH_Pattern: interface of mesh pattern.
Definition: SMESH_Pattern.idl:42
ErrorCode
error code of the last of one of above operations
Definition: SMESH_Pattern.idl:126
@ ERR_APPL_BAD_NB_VERTICES
Definition: SMESH_Pattern.idl:152
@ ERR_READ_NB_POINTS
Definition: SMESH_Pattern.idl:129
@ ERR_LOAD_EMPTY_SUBMESH
Definition: SMESH_Pattern.idl:141
@ ERR_LOADF_NARROW_FACE
Definition: SMESH_Pattern.idl:143
@ ERR_LOADV_BAD_SHAPE
Definition: SMESH_Pattern.idl:147
@ ERR_READ_3D_COORD
Definition: SMESH_Pattern.idl:132
@ ERR_LOADF_CANT_PROJECT
Definition: SMESH_Pattern.idl:145
@ ERR_SAVE_NOT_LOADED
Definition: SMESH_Pattern.idl:139
@ ERR_READ_ELEM_POINTS
Definition: SMESH_Pattern.idl:135
@ ERR_APPLF_BAD_TOPOLOGY
Definition: SMESH_Pattern.idl:154
@ ERR_OK
Definition: SMESH_Pattern.idl:127
@ ERR_APPLF_INTERNAL_EEROR
Definition: SMESH_Pattern.idl:156
@ ERR_APPL_BAD_DIMENTION
Definition: SMESH_Pattern.idl:151
@ ERR_READ_BAD_INDEX
Definition: SMESH_Pattern.idl:134
@ ERR_LOADV_COMPUTE_PARAMS
Definition: SMESH_Pattern.idl:148
@ ERR_READ_NO_KEYPOINT
Definition: SMESH_Pattern.idl:133
@ ERR_LOADF_CLOSED_FACE
Definition: SMESH_Pattern.idl:144
@ ERR_READ_BAD_KEY_POINT
Definition: SMESH_Pattern.idl:137
@ ERR_READ_POINT_COORDS
Definition: SMESH_Pattern.idl:130
@ ERR_APPL_NOT_LOADED
Definition: SMESH_Pattern.idl:150
@ ERR_APPLF_BAD_VERTEX
Definition: SMESH_Pattern.idl:155
@ ERR_READ_TOO_FEW_POINTS
Definition: SMESH_Pattern.idl:131
@ ERR_APPLV_BAD_SHAPE
Definition: SMESH_Pattern.idl:158
@ ERR_READ_NO_ELEMS
Definition: SMESH_Pattern.idl:136
point_array GetPoints()
Return coordinates of pattern points.
point_array ApplyToMeshFaces(in SMESH_Mesh theMesh, in smIdType_array theFacesIDs, in short theNodeIndexOnKeyPoint1, in boolean theReverse)
Compute nodes coordinates applying the loaded pattern to mesh faces.
boolean LoadFrom3DBlock(in SMESH_Mesh theMesh, in GEOM::GEOM_Object theBlock)
Create a pattern from the mesh built on <theBlock>
boolean LoadFromFace(in SMESH_Mesh theMesh, in GEOM::GEOM_Object theFace, in boolean theProject)
Create a pattern from the mesh built on <theFace>.
ErrorCode GetErrorCode()
Return error code of the last operation.
string GetString()
Return the loaded pattern in the string form to be saved in file.
point_array ApplyTo3DBlock(in GEOM::GEOM_Object theBlock, in GEOM::GEOM_Object theVertex000, in GEOM::GEOM_Object theVertex001)
Compute nodes coordinates applying the loaded pattern to <theBlock>.
boolean LoadFromFile(in string theFileContents)
Load a pattern from the string <theFileContents>
boolean Is2D()
Return true if the loaded pattern is a 2D one.
boolean MakeMesh(in SMESH_Mesh theMesh, in boolean CreatePolygons, in boolean CreatePolyedrs)
Create nodes and elements in <theMesh> using nodes coordinates computed by either of Apply....
point_array ApplyToFace(in GEOM::GEOM_Object theFace, in GEOM::GEOM_Object theVertexOnKeyPoint1, in boolean theReverse)
Compute nodes coordinates applying the loaded pattern to <theFace>.
point_array ApplyToHexahedrons(in SMESH_Mesh theMesh, in smIdType_array theVolumesIDs, in short theNode000Index, in short theNode001Index)
Compute nodes coordinates applying the loaded pattern to hexahedrons.
long_array GetKeyPoints()
Return indices of key-points within the arrays returned by GetPoints()
array_of_long_array GetElementPoints(in boolean all)
Return nodal connectivity of the elements of the pattern or of all elements to be created.
Definition: SMESH_ControlsDef.hxx:64
sequence< long_array > array_of_long_array
Definition: SMESH_Mesh.idl:47
sequence< smIdType > smIdType_array
Definition: SMESH_Mesh.idl:45
sequence< SMESH::PointStruct > point_array
Definition: SMESH_Pattern.idl:37
sequence< long > long_array
Definition: SMESH_Mesh.idl:44