The spica renderer
axis_comparable.h
1 #ifndef _SPICA_AXIS_COMPARATOR_H_
2 #define _SPICA_AXIS_COMPARATOR_H_
3 
4 #if defined(_WIN32) || defined(__WIN32__)
5 #define SPICA_AXIS_COMPARABLE_DLL __declspec(dllexport)
6 #else
7 #define SPICA_AXIS_COMPARABLE_DLL
8 #endif
9 
10 namespace spica {
11 
12  // --------------------------------------------------
13  // Interface class for sorting point along the specified axis
14  // --------------------------------------------------
15  class SPICA_AXIS_COMPARABLE_DLL AxisComparable {
16  public:
17  AxisComparable() {}
18  ~AxisComparable() {}
19  virtual double get(int d) const = 0;
20  };
21 
22 }
23 
24 #endif // _SPICA_AXIS_COMPARATOR_H_
Definition: axis_comparable.h:15