This commit is contained in:
@@ -105,12 +105,6 @@ class VectAffine {
|
|||||||
*/
|
*/
|
||||||
bool IsElementOf(const Matrix& a_Vector) const;
|
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 {
|
bool operator==(const VectAffine& a_VectAffine) const {
|
||||||
return m_Origin == a_VectAffine.GetOrigin() && m_Base == a_VectAffine.GetBase();
|
return m_Origin == a_VectAffine.GetOrigin() && m_Base == a_VectAffine.GetBase();
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -87,12 +87,4 @@ VectAffine::VectAffine(const Vect& a_Base, const Matrix& a_Origin) :
|
|||||||
|
|
||||||
bool VectAffine::IsElementOf(const Matrix& a_Vector) const {
|
bool VectAffine::IsElementOf(const Matrix& a_Vector) const {
|
||||||
return m_Base.IsElementOf(a_Vector - m_Origin);
|
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;
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user