diff --git a/MathLib/Vector3.h b/MathLib/Vector3.h index 3a996204066c45a1b171744ebb76c912f8cc5a51..5bef58ab90c9bbcfabeccdb5d4d56e498c9f27c0 100644 --- a/MathLib/Vector3.h +++ b/MathLib/Vector3.h @@ -37,10 +37,6 @@ class TemplateVector3 : public MathLib::TemplatePoint<T> { public: TemplateVector3() : MathLib::TemplatePoint<T>() {} - TemplateVector3(T x1, T x2, T x3) : MathLib::TemplatePoint<T>(x1, x2, x3) {} - TemplateVector3(const MathLib::TemplatePoint<T> & rhs) : - MathLib::TemplatePoint<T>(rhs[0], rhs[1], rhs[2]) - {} /** constructs the vector v=(b-a) from the given points */ TemplateVector3(const MathLib::TemplatePoint<T> &a, const MathLib::TemplatePoint<T> &b) : @@ -87,14 +83,6 @@ public: return *this; } - // Accessors - T X() const { return this->_x[0]; } - T Y() const { return this->_x[1]; } - T Z() const { return this->_x[2]; } - void setX(T value) { this->_x[0] = value; } - void setY(T value) { this->_x[1] = value; } - void setZ(T value) { this->_x[2] = value; } - /// Dot product with another vector double Dot(const TemplateVector3 & pV) const { @@ -167,7 +155,6 @@ public: bool operator!=( const TemplateVector3 & pV) const { return !(pV == this); -// this->_x[0]!=pV[0] || this->_x[1]!=pV[1] || this->_x[2]!=pV[2]; } };