myNumber++;
}
+//=======================================================================
+//function : AddFace
+//purpose :
+//=======================================================================
+void SMESHDS_Command::AddFace(int NewFaceID,
+ int n1, int n2, int n3,
+ int n12, int n23, int n31, int nCenter)
+{
+ if (!myType == SMESHDS_AddBiQuadTriangle) {
+ MESSAGE("SMESHDS_Command::AddFace : Bad Type");
+ return;
+ }
+ myIntegers.push_back(NewFaceID);
+ myIntegers.push_back(n1);
+ myIntegers.push_back(n2);
+ myIntegers.push_back(n3);
+ myIntegers.push_back(n12);
+ myIntegers.push_back(n23);
+ myIntegers.push_back(n31);
+ myIntegers.push_back(nCenter);
+ myNumber++;
+}
+
//=======================================================================
//function : AddFace
//purpose :
void AddEdge(int NewEdgeID, int n1, int n2, int n12);
void AddFace(int NewFaceID, int n1, int n2, int n3,
int n12, int n23, int n31);
+ void AddFace(int NewFaceID, int n1, int n2, int n3,
+ int n12, int n23, int n31, int nCenter);
void AddFace(int NewFaceID, int n1, int n2, int n3, int n4,
int n12, int n23, int n34, int n41);
void AddFace(int NewFaceID, int n1, int n2, int n3, int n4,
SMESHDS_ChangePolyhedronNodes,
SMESHDS_Renumber,
SMESHDS_ClearAll,
- // special types for quadratic elements
+ // quadratic elements
SMESHDS_AddQuadEdge,
SMESHDS_AddQuadTriangle,
SMESHDS_AddQuadQuadrangle,
SMESHDS_AddQuadHexahedron,
//
SMESHDS_Add0DElement,
+ SMESHDS_AddBiQuadTriangle,
SMESHDS_AddBiQuadQuadrangle,
SMESHDS_AddTriQuadHexa,
SMESHDS_AddHexagonalPrism,
n12, n23, n31);
}
+//=======================================================================
+//function : AddFace
+//purpose :
+//=======================================================================
+void SMESHDS_Script::AddFace(int NewFaceID, int n1, int n2, int n3,
+ int n12, int n23, int n31, int nCenter)
+{
+ if(myIsEmbeddedMode){
+ myIsModified = true;
+ return;
+ }
+ getCommand(SMESHDS_AddBiQuadTriangle)->AddFace(NewFaceID, n1, n2, n3,
+ n12, n23, n31, nCenter);
+}
+
//=======================================================================
//function : AddFace
//purpose :
void AddEdge(int NewEdgeID, int n1, int n2, int n12);
void AddFace(int NewFaceID, int n1, int n2, int n3,
int n12, int n23, int n31);
+ void AddFace(int NewFaceID, int n1, int n2, int n3,
+ int n12, int n23, int n31, int nCenter);
void AddFace(int NewFaceID, int n1, int n2, int n3, int n4,
int n12, int n23, int n34, int n41);
void AddFace(int NewFaceID, int n1, int n2, int n3, int n4,