88#include < TColStd_DataMapOfIntegerInteger.hxx>
99#include < TColStd_DataMapOfIntegerReal.hxx>
1010
11- IMPLEMENT_STANDARD_RTTIEXT (Mesh_DataSource , MeshVS_DataSource)
11+ IMPLEMENT_STANDARD_RTTIEXT (MeshDS_DataSource , MeshVS_DataSource)
1212
13- Mesh_DataSource::Mesh_DataSource (std::vector<gp_Pnt>& CoordData, std::vector<std::vector<int >>& Ele2NodeData)
13+ MeshDS_DataSource::MeshDS_DataSource (std::vector<gp_Pnt>& CoordData, std::vector<std::vector<int >>& Ele2NodeData)
1414{
1515 InitializeFromData (CoordData, Ele2NodeData);
1616}
1717
18- Mesh_DataSource::Mesh_DataSource (const Handle (Poly_Triangulation)& polyTri)
18+ MeshDS_DataSource::MeshDS_DataSource (const Handle (Poly_Triangulation)& polyTri)
1919{
2020 // initialize arrays
2121 std::vector<gp_Pnt> CoordData;
@@ -40,7 +40,7 @@ Mesh_DataSource::Mesh_DataSource(const Handle(Poly_Triangulation)& polyTri)
4040// Function : SetElemNormals
4141// Purpose :
4242// ================================================================
43- void Mesh_DataSource ::SetElemNormals
43+ void MeshDS_DataSource ::SetElemNormals
4444(std::vector<gp_Vec>& ElemNormalsData)
4545{
4646 for (size_t ElementId = 1 ; ElementId <= ElemNormalsData.size (); ElementId++)
@@ -55,7 +55,7 @@ void Mesh_DataSource::SetElemNormals
5555// Function : SetNodeNormals
5656// Purpose :
5757// ================================================================
58- void Mesh_DataSource ::SetNodeNormals
58+ void MeshDS_DataSource ::SetNodeNormals
5959(std::vector<std::vector<gp_Vec>>& NodeNormalsData)
6060{
6161 for (size_t ElementId = 1 ; ElementId <= myElemNodes->NbRows (); ElementId++)
@@ -72,7 +72,7 @@ void Mesh_DataSource::SetNodeNormals
7272// Function : GetGeom
7373// Purpose :
7474// ================================================================
75- Standard_Boolean Mesh_DataSource ::GetGeom
75+ Standard_Boolean MeshDS_DataSource ::GetGeom
7676(const Standard_Integer ID, const Standard_Boolean IsElement,
7777 TColStd_Array1OfReal& Coords, Standard_Integer& NbNodes,
7878 MeshVS_EntityType& Type) const
@@ -112,7 +112,7 @@ Standard_Boolean Mesh_DataSource::GetGeom
112112// Function : GetGeomType
113113// Purpose :
114114// ================================================================
115- Standard_Boolean Mesh_DataSource ::GetGeomType
115+ Standard_Boolean MeshDS_DataSource ::GetGeomType
116116(const Standard_Integer,
117117 const Standard_Boolean IsElement,
118118 MeshVS_EntityType& Type) const
@@ -133,7 +133,7 @@ Standard_Boolean Mesh_DataSource::GetGeomType
133133// Function : GetAddr
134134// Purpose :
135135// ================================================================
136- Standard_Address Mesh_DataSource ::GetAddr
136+ Standard_Address MeshDS_DataSource ::GetAddr
137137(const Standard_Integer, const Standard_Boolean) const
138138{
139139 return NULL ;
@@ -143,7 +143,7 @@ Standard_Address Mesh_DataSource::GetAddr
143143// Function : GetNodesByElement
144144// Purpose :
145145// ================================================================
146- Standard_Boolean Mesh_DataSource ::GetNodesByElement
146+ Standard_Boolean MeshDS_DataSource ::GetNodesByElement
147147(const Standard_Integer ID,
148148 TColStd_Array1OfInteger& theNodeIDs,
149149 Standard_Integer& theNbNodes) const
@@ -165,7 +165,7 @@ Standard_Boolean Mesh_DataSource::GetNodesByElement
165165// Function : GetAllNodes
166166// Purpose :
167167// ================================================================
168- const TColStd_PackedMapOfInteger& Mesh_DataSource ::GetAllNodes () const
168+ const TColStd_PackedMapOfInteger& MeshDS_DataSource ::GetAllNodes () const
169169{
170170 return myNodes;
171171}
@@ -174,7 +174,7 @@ const TColStd_PackedMapOfInteger& Mesh_DataSource::GetAllNodes() const
174174// Function : GetAllElements
175175// Purpose :
176176// ================================================================
177- const TColStd_PackedMapOfInteger& Mesh_DataSource ::GetAllElements () const
177+ const TColStd_PackedMapOfInteger& MeshDS_DataSource ::GetAllElements () const
178178{
179179 return myElements;
180180}
@@ -183,7 +183,7 @@ const TColStd_PackedMapOfInteger& Mesh_DataSource::GetAllElements() const
183183// Function : GetNormal
184184// Purpose :
185185// ================================================================
186- Standard_Boolean Mesh_DataSource ::GetNormal
186+ Standard_Boolean MeshDS_DataSource ::GetNormal
187187(const Standard_Integer Id, const Standard_Integer Max,
188188 Standard_Real& nx, Standard_Real& ny, Standard_Real& nz) const
189189{
@@ -202,7 +202,7 @@ Standard_Boolean Mesh_DataSource::GetNormal
202202// Function : GetNodeNormal
203203// Purpose :
204204// ================================================================
205- Standard_Boolean Mesh_DataSource ::GetNodeNormal
205+ Standard_Boolean MeshDS_DataSource ::GetNodeNormal
206206(const Standard_Integer rankNode, const Standard_Integer ElementId,
207207 Standard_Real& nx, Standard_Real& ny, Standard_Real& nz) const
208208{
@@ -221,7 +221,7 @@ Standard_Boolean Mesh_DataSource::GetNodeNormal
221221// Function : InitializeFromData
222222// Purpose :
223223// ================================================================
224- void Mesh_DataSource ::InitializeFromData
224+ void MeshDS_DataSource ::InitializeFromData
225225(std::vector<gp_Pnt>& CoordData, std::vector<std::vector<int >>& Ele2NodeData)
226226{
227227 // initialize arrays
0 commit comments