OGS
GMSHLineLoop.h
Go to the documentation of this file.
1
12
#pragma once
13
14
#include <vector>
15
#include <iosfwd>
16
17
namespace
FileIO
18
{
19
namespace
GMSH
20
{
21
class
GMSHLine;
22
23
class
GMSHLineLoop
final
24
{
25
public
:
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
33
private
:
34
std::vector<GMSHLine*>
_lines
;
35
bool
_is_sfc
;
36
};
37
38
}
// end namespace GMSH
39
}
// end namespace FileIO
FileIO::GMSH::GMSHLineLoop
Definition
GMSHLineLoop.h:24
FileIO::GMSH::GMSHLineLoop::_lines
std::vector< GMSHLine * > _lines
Definition
GMSHLineLoop.h:34
FileIO::GMSH::GMSHLineLoop::write
void write(std::ostream &os, std::size_t line_offset, std::size_t sfc_offset=0) const
Definition
GMSHLineLoop.cpp:33
FileIO::GMSH::GMSHLineLoop::_is_sfc
bool _is_sfc
Definition
GMSHLineLoop.h:35
FileIO::GMSH::GMSHLineLoop::isSurface
bool isSurface() const
Definition
GMSHLineLoop.h:28
FileIO::GMSH::GMSHLineLoop::~GMSHLineLoop
virtual ~GMSHLineLoop()
Definition
GMSHLineLoop.cpp:24
FileIO::GMSH::GMSHLineLoop::setSurface
void setSurface(bool is_sfc)
Definition
GMSHLineLoop.h:29
FileIO::GMSH::GMSHLineLoop::GMSHLineLoop
GMSHLineLoop(bool is_sfc=false)
Definition
GMSHLineLoop.cpp:22
FileIO
Definition
SHPImportDialog.h:19
Applications
FileIO
Gmsh
GMSHLineLoop.h
Generated by
1.10.0