src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx File Reference

#include <stdio.h>
#include <gp_Pnt.hxx>
#include "DriverSTL_R_SMDS_Mesh.h"
#include "SMDS_Mesh.hxx"
#include "SMDS_MeshElement.hxx"
#include "SMDS_MeshNode.hxx"
#include <OSD_Path.hxx>
#include <OSD_File.hxx>
#include <OSD_FromWhere.hxx>
#include <OSD_Protection.hxx>
#include <OSD_SingleProtection.hxx>
#include <Standard_NoMoreObject.hxx>
#include "utilities.h"
#include <NCollection_DataMap.hxx>

Include dependency graph for DriverSTL_R_SMDS_Mesh.cxx:


Typedefs

typedef NCollection_DataMap<
gp_Pnt, SMDS_MeshNode * > 
DriverSTL_DataMapOfPntNodePtr

Functions

Standard_Integer HashCode (const gp_Pnt &point, Standard_Integer Upper)
Standard_Boolean IsEqual (const gp_Pnt &point1, const gp_Pnt &point2)
static Standard_Real readFloat (OSD_File &theFile)
static SMDS_MeshNodeaddNode (const gp_Pnt &P, DriverSTL_DataMapOfPntNodePtr &uniqnodes, SMDS_Mesh *theMesh)
static SMDS_MeshNodereadNode (FILE *file, DriverSTL_DataMapOfPntNodePtr &uniqnodes, SMDS_Mesh *theMesh)
static SMDS_MeshNodereadNode (OSD_File &theFile, DriverSTL_DataMapOfPntNodePtr &uniqnodes, SMDS_Mesh *theMesh)

Variables

static Standard_Real tab1 [3]
static Standard_Real tab2 [3]
static const int HEADER_SIZE = 84
static const int SIZEOF_STL_FACET = 50
static const int ASCII_LINES_PER_FACET = 7

Typedef Documentation

typedef NCollection_DataMap<gp_Pnt,SMDS_MeshNode*> DriverSTL_DataMapOfPntNodePtr
 


Function Documentation

Standard_Integer HashCode const gp_Pnt &  point,
Standard_Integer  Upper
 

Standard_Boolean IsEqual const gp_Pnt &  point1,
const gp_Pnt &  point2
 

static Standard_Real readFloat OSD_File &  theFile  )  [static]
 

static SMDS_MeshNode* addNode const gp_Pnt &  P,
DriverSTL_DataMapOfPntNodePtr uniqnodes,
SMDS_Mesh theMesh
[static]
 

static SMDS_MeshNode* readNode FILE *  file,
DriverSTL_DataMapOfPntNodePtr uniqnodes,
SMDS_Mesh theMesh
[static]
 

static SMDS_MeshNode* readNode OSD_File &  theFile,
DriverSTL_DataMapOfPntNodePtr uniqnodes,
SMDS_Mesh theMesh
[static]
 


Variable Documentation

Standard_Real tab1[3] [static]
 

Standard_Real tab2[3] [static]
 

const int HEADER_SIZE = 84 [static]
 

const int SIZEOF_STL_FACET = 50 [static]
 

const int ASCII_LINES_PER_FACET = 7 [static]