MorphoGraphX
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EdgeData.hpp
Go to the documentation of this file.
1 #ifndef EDGE_DATA_H
2 #define EDGE_DATA_H
3 
4 #include <Config.hpp>
5 
12 namespace mgx {
17 struct EdgeData {
18  double len;
19  EdgeData()
20  : len(0.0)
21  {
22  }
23  virtual ~EdgeData() {
24  }
25  bool operator==(const EdgeData& other) const {
26  return len == other.len;
27  }
28 };
29 } // namespace mgx
30 
31 #endif
double len
Length of the edge.
Definition: EdgeData.hpp:18
This class defines the fields available from an edge.
Definition: EdgeData.hpp:17