-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#define _SMESH_PATTERN_IDL_
#include "SMESH_Mesh.idl"
+#include "SMESH_smIdType.idl"
module SMESH
{
* the loaded pattern to mesh faces. The first key-point
* will be mapped into <theNodeIndexOnKeyPoint1>-th node of each face
*/
- point_array ApplyToMeshFaces(in SMESH_Mesh theMesh,
- in long_array theFacesIDs,
- in long theNodeIndexOnKeyPoint1,
- in boolean theReverse);
+ point_array ApplyToMeshFaces(in SMESH_Mesh theMesh,
+ in smIdType_array theFacesIDs,
+ in short theNodeIndexOnKeyPoint1,
+ in boolean theReverse);
/*!
* Compute nodes coordinates applying
* The (0,0,1) key-point will be mapped into <theNode001Index>-th
* node of each volume.
*/
- point_array ApplyToHexahedrons(in SMESH_Mesh theMesh,
- in long_array theVolumesIDs,
- in long theNode000Index,
- in long theNode001Index);
+ point_array ApplyToHexahedrons(in SMESH_Mesh theMesh,
+ in smIdType_array theVolumesIDs,
+ in short theNode000Index,
+ in short theNode001Index);
/*!
* Create nodes and elements in <theMesh> using nodes
ERR_LOADF_CANT_PROJECT, // impossible to project nodes
// Load(volume)
ERR_LOADV_BAD_SHAPE, // volume is not a brick of 6 faces
- ERR_LOADV_COMPUTE_PARAMS, // cant compute point parameters
+ ERR_LOADV_COMPUTE_PARAMS, // can't compute point parameters
// Apply(shape)
ERR_APPL_NOT_LOADED, // pattern was not loaded
- ERR_APPL_BAD_DIMENTION, // wrong shape dimention
+ ERR_APPL_BAD_DIMENTION, // wrong shape dimension
ERR_APPL_BAD_NB_VERTICES, // keypoints - vertices mismatch
// Apply(face)
ERR_APPLF_BAD_TOPOLOGY, // bad pattern topology
/*!
* Return nodal connectivity of the elements of the pattern
- * or of all elements to be crated
+ * or of all elements to be created
*/
array_of_long_array GetElementPoints(in boolean all);
};