* Node location on a shape
*/
struct NodePosition {
- smIdType shapeID;
+ long shapeID;
GEOM::shape_type shapeType;
double_array params; // [U] on EDGE, [U,V] on FACE, [] on the rest shapes
};
* Element location on a shape
*/
struct ElementPosition {
- smIdType shapeID;
+ long shapeID;
GEOM::shape_type shapeType;
};
*/
struct ElementSubType { ElementType SMDS_ElementType;
boolean isPoly;
- smIdType nbNodesInElement; };
+ short nbNodesInElement; };
typedef sequence<ElementSubType> types_array;
/*!
* Remove all nodes and elements of submesh
*/
- void ClearSubMesh(in smIdType ShapeID)
+ void ClearSubMesh(in long ShapeID)
raises (SALOME::SALOME_Exception);
/*!
/*!
* Get the internal Id
*/
- smIdType GetId();
+ long GetId();
/*!
* Obtain instance of SMESH_MeshEditor
GeometryType GetElementShape( in smIdType id )
raises (SALOME::SALOME_Exception);
- smIdType_array GetSubMeshElementsId(in smIdType ShapeID)
+ smIdType_array GetSubMeshElementsId(in long ShapeID)
raises (SALOME::SALOME_Exception);
- smIdType_array GetSubMeshNodesId(in smIdType ShapeID, in boolean all )
+ smIdType_array GetSubMeshNodesId(in long ShapeID, in boolean all )
raises (SALOME::SALOME_Exception);
- ElementType GetSubMeshElementType(in smIdType ShapeID)
+ ElementType GetSubMeshElementType(in long ShapeID)
raises (SALOME::SALOME_Exception);
* If given element is node returns IDs of shape from position
* If there is not node for given ID - returns -1
*/
- smIdType GetShapeID(in smIdType id);
+ long GetShapeID(in smIdType id);
/*!
* For given element returns ID of result shape after
* ::FindShape() from SMESH_MeshEditor
* If there is not element for given ID - returns -1
*/
- smIdType GetShapeIDForElem(in smIdType id);
+ long GetShapeIDForElem(in smIdType id);
/*!
* Returns number of nodes for given element
* If there is not element for given ID - returns -1
*/
- smIdType GetElemNbNodes(in smIdType id);
+ short GetElemNbNodes(in smIdType id);
/*!
* Returns IDs of nodes of given element
* If there is not element for given ID - returns -1
* If there is not node for given index - returns -2
*/
- smIdType GetElemNode(in smIdType id, in smIdType index);
+ smIdType GetElemNode(in smIdType id, in short index);
/*!
* Returns true if given node is medium node
/*!
* Get the internal Id
*/
- smIdType GetId();
+ long GetId();
};
};
struct FreeBorderPart
{
short border; // border index within a sequence<FreeBorder>
- smIdType node1; // node index within the border-th FreeBorder
- smIdType node2;
- smIdType nodeLast;
+ long node1; // node index within the border-th FreeBorder
+ long node2;
+ long nodeLast;
};
typedef sequence<FreeBorder> ListOfFreeBorders;
typedef sequence<FreeBorderPart> FreeBordersGroup;
* \param DuplicateElements to add one more 0D element to a node or not
*/
smIdType Add0DElement(in smIdType IDOfNode,
- in boolean DuplicateElements) raises (SALOME::SALOME_Exception);
+ in boolean DuplicateElements) raises (SALOME::SALOME_Exception);
/*!
* Create a ball element on the given node.
* gives quantity of nodes in face number i.
*/
smIdType AddPolyhedralVolume (in smIdType_array IdsOfNodes,
- in long_array Quantities) raises (SALOME::SALOME_Exception);
+ in long_array Quantities) raises (SALOME::SALOME_Exception);
/*!
* Create volume of many faces, giving IDs of existing faces.
* \param IdsOfFaces List of face IDs for volume creation.
* \param ElementID - element ID
* \param ShapeID - shape ID available through GEOM_Object.GetSubShapeIndices()[0]
*/
- void SetMeshElementOnShape(in smIdType ElementID, in smIdType ShapeID)
+ void SetMeshElementOnShape(in smIdType ElementID, in long ShapeID)
raises (SALOME::SALOME_Exception);
* \param theCriterion Is used to choose a diagonal for splitting.
* \return TRUE in case of success, FALSE otherwise.
*/
- boolean QuadToTri (in smIdType_array IDsOfElements,
+ boolean QuadToTri (in smIdType_array IDsOfElements,
in NumericalFunctor Criterion) raises (SALOME::SALOME_Exception);
/*!
* \brief Split quadrangles into triangles.
* \return TRUE in case of success, FALSE otherwise.
*/
boolean SplitQuad (in smIdType_array IDsOfElements,
- in boolean Diag13) raises (SALOME::SALOME_Exception);
+ in boolean Diag13) raises (SALOME::SALOME_Exception);
/*!
* \brief Split quadrangles into triangles.
*
enum Smooth_Method { LAPLACIAN_SMOOTH, CENTROIDAL_SMOOTH };
- boolean Smooth(in smIdType_array IDsOfElements,
- in smIdType_array IDsOfFixedNodes,
- in smIdType MaxNbOfIterations,
- in double MaxAspectRatio,
- in Smooth_Method Method) raises (SALOME::SALOME_Exception);
-
- boolean SmoothObject(in SMESH_IDSource theObject,
- in smIdType_array IDsOfFixedNodes,
- in smIdType MaxNbOfIterations,
- in double MaxAspectRatio,
- in Smooth_Method Method) raises (SALOME::SALOME_Exception);
-
- boolean SmoothParametric(in smIdType_array IDsOfElements,
- in smIdType_array IDsOfFixedNodes,
- in smIdType MaxNbOfIterations,
- in double MaxAspectRatio,
- in Smooth_Method Method) raises (SALOME::SALOME_Exception);
-
- boolean SmoothParametricObject(in SMESH_IDSource theObject,
- in smIdType_array IDsOfFixedNodes,
- in smIdType MaxNbOfIterations,
- in double MaxAspectRatio,
- in Smooth_Method Method) raises (SALOME::SALOME_Exception);
+ boolean Smooth(in smIdType_array IDsOfElements,
+ in smIdType_array IDsOfFixedNodes,
+ in short MaxNbOfIterations,
+ in double MaxAspectRatio,
+ in Smooth_Method Method) raises (SALOME::SALOME_Exception);
+
+ boolean SmoothObject(in SMESH_IDSource theObject,
+ in smIdType_array IDsOfFixedNodes,
+ in short MaxNbOfIterations,
+ in double MaxAspectRatio,
+ in Smooth_Method Method) raises (SALOME::SALOME_Exception);
+
+ boolean SmoothParametric(in smIdType_array IDsOfElements,
+ in smIdType_array IDsOfFixedNodes,
+ in short MaxNbOfIterations,
+ in double MaxAspectRatio,
+ in Smooth_Method Method) raises (SALOME::SALOME_Exception);
+
+ boolean SmoothParametricObject(in SMESH_IDSource theObject,
+ in smIdType_array IDsOfFixedNodes,
+ in short MaxNbOfIterations,
+ in double MaxAspectRatio,
+ in Smooth_Method Method) raises (SALOME::SALOME_Exception);
void ConvertToQuadratic(in boolean theForce3d)
raises (SALOME::SALOME_Exception);
* \return ListOfGroups - new groups created if \a ToMakeGroups is true
*/
ListOfGroups AdvancedExtrusion(in smIdType_array IDsOfElements,
- in DirStruct StepVector,
- in long NbOfSteps,
- in long ExtrFlags,
- in double SewTolerance,
- in boolean ToMakeGroups)
+ in DirStruct StepVector,
+ in long NbOfSteps,
+ in long ExtrFlags,
+ in double SewTolerance,
+ in boolean ToMakeGroups)
raises (SALOME::SALOME_Exception);
enum Extrusion_Error {
enum MirrorType { POINT, AXIS, PLANE };
void Mirror (in smIdType_array IDsOfElements,
- in AxisStruct Mirror,
- in MirrorType Type,
- in boolean Copy)
+ in AxisStruct Mirror,
+ in MirrorType Type,
+ in boolean Copy)
raises (SALOME::SALOME_Exception);
ListOfGroups MirrorMakeGroups (in smIdType_array IDsOfElements,
- in AxisStruct Mirror,
- in MirrorType Type)
+ in AxisStruct Mirror,
+ in MirrorType Type)
raises (SALOME::SALOME_Exception);
SMESH_Mesh MirrorMakeMesh (in smIdType_array IDsOfElements,
- in AxisStruct Mirror,
- in MirrorType Type,
- in boolean CopyGroups,
- in string MeshName)
+ in AxisStruct Mirror,
+ in MirrorType Type,
+ in boolean CopyGroups,
+ in string MeshName)
raises (SALOME::SALOME_Exception);
void MirrorObject (in SMESH_IDSource theObject,
raises (SALOME::SALOME_Exception);
void Translate (in smIdType_array IDsOfElements,
- in DirStruct Vector,
- in boolean Copy)
+ in DirStruct Vector,
+ in boolean Copy)
raises (SALOME::SALOME_Exception);
ListOfGroups TranslateMakeGroups (in smIdType_array IDsOfElements,
- in DirStruct Vector)
+ in DirStruct Vector)
raises (SALOME::SALOME_Exception);
SMESH_Mesh TranslateMakeMesh (in smIdType_array IDsOfElements,
- in DirStruct Vector,
- in boolean CopyGroups,
- in string MeshName)
+ in DirStruct Vector,
+ in boolean CopyGroups,
+ in string MeshName)
raises (SALOME::SALOME_Exception);
void TranslateObject (in SMESH_IDSource theObject,
raises (SALOME::SALOME_Exception);
void Rotate (in smIdType_array IDsOfElements,
- in AxisStruct Axis,
- in double AngleInRadians,
- in boolean Copy)
+ in AxisStruct Axis,
+ in double AngleInRadians,
+ in boolean Copy)
raises (SALOME::SALOME_Exception);
ListOfGroups RotateMakeGroups (in smIdType_array IDsOfElements,
- in AxisStruct Axis,
- in double AngleInRadians)
+ in AxisStruct Axis,
+ in double AngleInRadians)
raises (SALOME::SALOME_Exception);
SMESH_Mesh RotateMakeMesh (in smIdType_array IDsOfElements,
- in AxisStruct Axis,
- in double AngleInRadians,
- in boolean CopyGroups,
- in string MeshName)
+ in AxisStruct Axis,
+ in double AngleInRadians,
+ in boolean CopyGroups,
+ in string MeshName)
raises (SALOME::SALOME_Exception);
void RotateObject (in SMESH_IDSource theObject,
* 'ALL' type means elements of any type excluding nodes and 0D elements
*/
smIdType_array FindAmongElementsByPoint(in SMESH_IDSource elements,
- in double x, in double y, in double z,
- in ElementType type)
+ in double x, in double y, in double z,
+ in ElementType type)
raises (SALOME::SALOME_Exception);
/*!
* In the case if nothing found, return -1 and []
*/
smIdType ProjectPoint(in double x,
- in double y,
- in double z,
- in ElementType type,
- in SMESH_IDSource meshObject,
- out double_array projecton)
+ in double y,
+ in double z,
+ in ElementType type,
+ in SMESH_IDSource meshObject,
+ out double_array projecton)
raises (SALOME::SALOME_Exception);
/*!
in smIdType FirstNodeID2,
in smIdType SecondNodeID2,
in smIdType LastNodeID2,
- in boolean CreatePolygons,
- in boolean CreatePolyedrs)
+ in boolean CreatePolygons,
+ in boolean CreatePolyedrs)
raises (SALOME::SALOME_Exception);
Sew_Error SewConformFreeBorders (in smIdType FirstNodeID1,
in smIdType LastNodeIDOnFreeBorder,
in smIdType FirstNodeIDOnSide,
in smIdType LastNodeIDOnSide,
- in boolean CreatePolygons,
- in boolean CreatePolyedrs)
+ in boolean CreatePolygons,
+ in boolean CreatePolyedrs)
raises (SALOME::SALOME_Exception);
Sew_Error SewSideElements (in smIdType_array IDsOfSide1Elements,
in smIdType_array IDsOfSide2Elements,
- in smIdType NodeID1OfSide1ToMerge,
- in smIdType NodeID1OfSide2ToMerge,
- in smIdType NodeID2OfSide1ToMerge,
- in smIdType NodeID2OfSide2ToMerge)
+ in smIdType NodeID1OfSide1ToMerge,
+ in smIdType NodeID1OfSide2ToMerge,
+ in smIdType NodeID2OfSide1ToMerge,
+ in smIdType NodeID2OfSide2ToMerge)
raises (SALOME::SALOME_Exception);
/*!
* If number of nodes is not corresponded to type of
* element - returns false
*/
- boolean ChangeElemNodes(in smIdType ide, in smIdType_array newIDs)
+ boolean ChangeElemNodes(in smIdType id, in smIdType_array newIDs)
raises (SALOME::SALOME_Exception);
/*!
* \return TRUE if operation has been completed successfully, FALSE otherwise
* \sa DoubleNodeGroupInRegion(), DoubleNodeGroupsInRegion()
*/
- boolean DoubleNodeElemInRegion( in smIdType_array theElems,
- in smIdType_array theNodesNot,
+ boolean DoubleNodeElemInRegion( in smIdType_array theElems,
+ in smIdType_array theNodesNot,
in GEOM::GEOM_Object theShape )
raises (SALOME::SALOME_Exception);