104 bool operator== (const vertex& other) const; |
104 bool operator== (const vertex& other) const; |
105 bool operator!= (const vertex& other) const; |
105 bool operator!= (const vertex& other) const; |
106 vertex operator- () const; |
106 vertex operator- () const; |
107 double& operator[] (const Axis ax); |
107 double& operator[] (const Axis ax); |
108 const double& operator[] (const Axis ax) const; |
108 const double& operator[] (const Axis ax) const; |
|
109 double& operator[] (const int ax); |
|
110 const double& operator[] (const int ax) const; |
109 |
111 |
110 private: |
112 private: |
111 double m_coords[3]; |
113 double m_coords[3]; |
112 }; |
114 }; |
113 |
115 |