#include "SMESHDS_Command.hxx"
#include <list>
+#include <vector>
class SMESHDS_Script
int idnode4, int idnode5, int idnode6);
void AddVolume(int NewVolID, int idnode1, int idnode2, int idnode3,
int idnode4, int idnode5, int idnode6, int idnode7, int idnode8);
- void MoveNode(int NewNodeID, double x, double y, double z);
+
+ void AddPolygonalFace (const int NewFaceID,
+ std::vector<int> nodes_ids);
+ void AddPolyhedralVolume (const int NewVolID,
+ std::vector<int> nodes_ids,
+ std::vector<int> quantities);
+
+ void MoveNode(int NewNodeID, double x, double y, double z);
void RemoveNode(int NodeID);
void RemoveElement(int ElementID);
void ChangeElementNodes(int ElementID, int nodes[], int nbnodes);
+ void ChangePolyhedronNodes(const int ElementID,
+ std::vector<int> nodes_ids,
+ std::vector<int> quantities);
void Renumber (const bool isNodes, const int startID, const int deltaID);
void Clear();
const std::list<SMESHDS_Command*> & GetCommands();