#include "DriverSTL_W_SMDS_Mesh.h"#include <Basics_Utils.hxx>#include "SMDS_FaceOfNodes.hxx"#include "SMDS_IteratorOnIterators.hxx"#include "SMDS_Mesh.hxx"#include "SMDS_MeshElement.hxx"#include "SMDS_MeshNode.hxx"#include "SMDS_PolygonalFaceOfNodes.hxx"#include "SMDS_SetIterator.hxx"#include "SMDS_VolumeTool.hxx"#include "SMESH_File.hxx"#include "SMESH_TypeDefs.hxx"#include <Standard_ErrorHandler.hxx>#include <Standard_Failure.hxx>#include <gp_Ax2.hxx>#include <limits>
Functions | |
| static void | writeInteger (const Standard_Integer &theVal, SMESH_File &ofile) |
| static void | writeFloat (const Standard_ShortReal &theVal, SMESH_File &ofile) |
| static gp_XYZ | getNormale (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const SMDS_MeshNode *n3) |
| static int | getNbTriangles (const SMDS_MeshElement *face) |
| Return nb triangles in a decomposed mesh face. More... | |
| static int | getTriangles (const SMDS_MeshElement *face, std::vector< const SMDS_MeshNode * > &nodes) |
| Decompose a mesh face into triangles. More... | |
Variables | |
| static const int | LABEL_SIZE = 80 |
|
static |
Return nb triangles in a decomposed mesh face.
| int | - number of triangles |
References SMDS_MeshElement::GetEntityType(), SMDS_MeshElement::NbNodes(), SMDSEntity_BiQuad_Quadrangle, and SMDSEntity_BiQuad_Triangle.
Referenced by DriverSTL_W_SMDS_Mesh::writeBinary().
|
static |
Referenced by DriverSTL_W_SMDS_Mesh::writeAscii(), and DriverSTL_W_SMDS_Mesh::writeBinary().
|
static |
Decompose a mesh face into triangles.
| int | - number of triangles |
References SMDS_MeshElement::GetEntityType(), SMDS_MeshElement::GetNode(), SMDS_MeshElement::interlacedNodesIterator(), SMDS_MeshElement::NbNodes(), SMDSEntity_BiQuad_Quadrangle, SMDSEntity_BiQuad_Triangle, and SMDSEntity_Triangle.
Referenced by DriverSTL_W_SMDS_Mesh::writeAscii(), and DriverSTL_W_SMDS_Mesh::writeBinary().
|
static |
References SMESH_File::write().
Referenced by DriverSTL_W_SMDS_Mesh::writeBinary().
|
static |
References SMESH_File::write().
Referenced by DriverSTL_W_SMDS_Mesh::writeBinary().
|
static |
Referenced by DriverSTL_W_SMDS_Mesh::writeBinary().