99 const double& y () const { return m_coords[Y]; } |
99 const double& y () const { return m_coords[Y]; } |
100 double& z () { return m_coords[Z]; } |
100 double& z () { return m_coords[Z]; } |
101 const double& z () const { return m_coords[Z]; } |
101 const double& z () const { return m_coords[Z]; } |
102 |
102 |
103 vertex& operator+= (const vertex& other); |
103 vertex& operator+= (const vertex& other); |
104 vertex& operator+ (const vertex& other) const; |
104 vertex operator+ (const vertex& other) const; |
105 vertex operator/ (const double d) const; |
105 vertex operator/ (const double d) const; |
106 vertex& operator/= (const double d); |
106 vertex& operator/= (const double d); |
107 bool operator== (const vertex& other) const; |
107 bool operator== (const vertex& other) const; |
108 bool operator!= (const vertex& other) const; |
108 bool operator!= (const vertex& other) const; |
109 vertex operator- () const; |
109 vertex operator- () const; |