From 4b3e878bc514f1c20ea7ffb206edc90e4bcc38ec Mon Sep 17 00:00:00 2001 From: Persson-dev Date: Tue, 14 May 2024 22:41:01 +0200 Subject: [PATCH] removed weird function --- include/Vect.h | 6 ------ src/Vect.cpp | 8 -------- 2 files changed, 14 deletions(-) diff --git a/include/Vect.h b/include/Vect.h index ccaa425..5414574 100644 --- a/include/Vect.h +++ b/include/Vect.h @@ -105,12 +105,6 @@ class VectAffine { */ bool IsElementOf(const Matrix& a_Vector) const; - /** - * \brief Exprime l'espace vectoriel comme les solutions d'un système linéaire des coordonnées des vecteurs - * \return Une matrice représentant le système linéaire - */ - Matrix GetLinearSystem() const; - bool operator==(const VectAffine& a_VectAffine) const { return m_Origin == a_VectAffine.GetOrigin() && m_Base == a_VectAffine.GetBase(); }; diff --git a/src/Vect.cpp b/src/Vect.cpp index da02e59..d5be4de 100644 --- a/src/Vect.cpp +++ b/src/Vect.cpp @@ -87,12 +87,4 @@ VectAffine::VectAffine(const Vect& a_Base, const Matrix& a_Origin) : bool VectAffine::IsElementOf(const Matrix& a_Vector) const { return m_Base.IsElementOf(a_Vector - m_Origin); -} - -Matrix VectAffine::GetLinearSystem() const { - Matrix result = m_Base.GetLinearSystem(); - - result.Augment(m_Origin.SubMatrix(0, 0, result.GetRawCount(), 1)); - - return result; } \ No newline at end of file