Skip to content
Snippets Groups Projects
Commit bcd896dc authored by Tom Fischer's avatar Tom Fischer
Browse files

[TetGenInterface] Made two methods const.

parent 96947433
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ std::size_t TetGenInterface::getNFacets(std::ifstream &input) const
bool TetGenInterface::parseFacets(std::ifstream &input,
std::vector<GeoLib::Surface*> &surfaces,
std::vector<GeoLib::Point*> &points)
std::vector<GeoLib::Point*> &points) const
{
const std::size_t nFacets (this->getNFacets(input));
std::size_t nMultPolys (0);
......@@ -361,7 +361,7 @@ bool TetGenInterface::parseNodes(std::ifstream &ins,
bool TetGenInterface::readElementsFromStream(std::ifstream &ins,
std::vector<MeshLib::Element*> &elements,
const std::vector<MeshLib::Node*> &nodes)
const std::vector<MeshLib::Node*> &nodes) const
{
std::string line;
getline (ins, line);
......
......@@ -84,7 +84,7 @@ private:
*/
bool parseFacets(std::ifstream &input,
std::vector<GeoLib::Surface*> &surfaces,
std::vector<GeoLib::Point*> &points);
std::vector<GeoLib::Point*> &points) const;
/**
* Method reads the nodes from stream and stores them in a node vector.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment