OGS
GocadNode.cpp
Go to the documentation of this file.
1
10#include "GocadNode.h"
11
12namespace FileIO
13{
14namespace Gocad
15{
16bool operator<=(GocadNode const& n0, GocadNode const& n1)
17{
18 for (std::size_t k(0); k < 3; k++)
19 {
20 if (n0[0] > n1[0])
21 {
22 return false;
23 }
24 if (n0[0] < n1[0])
25 {
26 return true;
27 }
28 // => n0[k] == n1[k]
29 }
30
32}
33
34} // end namespace Gocad
35} // end namespace FileIO
std::size_t getLayerTransitionIndex() const
Definition GocadNode.h:105
bool operator<=(GocadNode const &n0, GocadNode const &n1)
Definition GocadNode.cpp:16