OGS
GMSHLineLoop.h
Go to the documentation of this file.
1
12#pragma once
13
14#include <vector>
15#include <iosfwd>
16
17namespace FileIO
18{
19namespace GMSH
20{
21class GMSHLine;
22
23class GMSHLineLoop final
24{
25public:
26 explicit GMSHLineLoop(bool is_sfc = false);
27 virtual ~GMSHLineLoop();
28 bool isSurface() const { return _is_sfc; }
29 void setSurface(bool is_sfc) { _is_sfc = is_sfc; }
30 void write(std::ostream& os, std::size_t line_offset,
31 std::size_t sfc_offset = 0) const;
32
33private:
34 std::vector<GMSHLine*> _lines;
35 bool _is_sfc;
36};
37
38} // end namespace GMSH
39} // end namespace FileIO
std::vector< GMSHLine * > _lines
void write(std::ostream &os, std::size_t line_offset, std::size_t sfc_offset=0) const
void setSurface(bool is_sfc)
GMSHLineLoop(bool is_sfc=false)