Commit 3c926c4a authored by franjo_j@hotmail.com's avatar franjo_j@hotmail.com
Browse files

Renamed FMT to FMS


git-svn-id: https://pl5.projectlocker.com/igui/meshGeneration/svn@14 fdcce57e-7e00-11e2-b579-49867b4cea03
parent ba045603
......@@ -70,7 +70,7 @@ void triSurf::writeToFTR(const fileName& fName) const
fStream << triSurfFacets::triangles_;
}
void triSurf::readFromFMT(const fileName& fName)
void triSurf::readFromFMS(const fileName& fName)
{
IFstream fStream(fName);
......@@ -110,7 +110,7 @@ void triSurf::readFromFMT(const fileName& fName)
);
}
void triSurf::writeToFMT(const fileName& fName) const
void triSurf::writeToFMS(const fileName& fName) const
{
OFstream fStream(fName);
......@@ -186,9 +186,9 @@ triSurf::~triSurf()
void triSurf::readSurface(const fileName& fName)
{
if( fName.ext() == "fmt" || fName.ext() == "FMT" )
if( fName.ext() == "fms" || fName.ext() == "FMS" )
{
readFromFMT(fName);
readFromFMS(fName);
}
else if( fName.ext() == "ftr" || fName.ext() == "FTR" )
{
......@@ -215,9 +215,9 @@ void triSurf::readSurface(const fileName& fName)
void triSurf::writeSurface(const fileName& fName) const
{
if( fName.ext() == "fmt" || fName.ext() == "FMT" )
if( fName.ext() == "fms" || fName.ext() == "FMS" )
{
writeToFMT(fName);
writeToFMS(fName);
}
else if( fName.ext() == "ftr" || fName.ext() == "FTR" )
{
......
......@@ -69,8 +69,8 @@ class triSurf
void readFromFTR(const fileName&);
void writeToFTR(const fileName&) const;
void readFromFMT(const fileName&);
void writeToFMT(const fileName&) const;
void readFromFMS(const fileName&);
void writeToFMS(const fileName&) const;
inline LongList<labelledTri>& accessToFacets();
inline geometricSurfacePatchList& accessToPatches();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment