![]() |
|
|||
File indexing completed on 2024-04-06 12:04:14
0001 #ifndef Geom_TrivialError_H 0002 #define Geom_TrivialError_H 0003 0004 /* struct to disambiguate constructors 0005 * 0006 */ 0007 0008 struct InvalidError {}; 0009 struct ZeroError {}; 0010 // diagonal error with all value equal 0011 struct TrivialError { 0012 double m_value; 0013 TrivialError(double v) : m_value(v) {} 0014 double value() const { return m_value; } 0015 operator double() const { return value(); } 0016 }; 0017 0018 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |