#include <subspace.h>
Public Member Functions | |
| CSubSpace (size_t dim_space=3, size_t dim_sub=0) | |
| CSubSpace (const CVector &pi, const CMatrix &mi, subspaceflags_t createflags=GEOCPP_FROM_EQS) | |
| CSubSpace (const CSubSpace &s) | |
| CSubSpace | intersect (const CSubSpace &) const |
| bool | contains (const CVector &) const |
| int | getdim () const |
| const CMatrix & | getm () const |
| const CVector & | getp () const |
Definition at line 31 of file subspace.h.
| CSubSpace::CSubSpace | ( | size_t | dim_space = 3, |
|
| size_t | dim_sub = 0 | |||
| ) |
Constructs a CSubSpace of the specified dimension.
| dim_space | dimension of the Euclidian vector space we are working in | |
| dim_sub | dimension of the subspace to be created |
Definition at line 32 of file subspace.cpp.
Referenced by intersect().
| CSubSpace::CSubSpace | ( | const CVector & | pi, | |
| const CMatrix & | mi, | |||
| subspaceflags_t | createflags = GEOCPP_FROM_EQS | |||
| ) |
Constructs a CSubSpace from a point and either the equations or a base of the subspace.
| pi | a point in the subspace | |
| mi | a matrix containing the equations or the base of the subspace | |
| createflags | specifies whether we were given the equations or the base of the subspace |
Definition at line 46 of file subspace.cpp.
References CMatrix::columns(), CMatrix::kern(), CMatrix::rows(), and CMatrix::transp().
| CSubSpace::CSubSpace | ( | const CSubSpace & | s | ) | [inline] |
Copy constructor
Definition at line 41 of file subspace.h.
Performs the intersection of two CSubSpace objects.
Definition at line 83 of file subspace.cpp.
References CSubSpace(), getdim(), m, p, and CMatrix::rows().
Referenced by CPanel::add6Hems(), CHullWorker::CHullWorker(), CSailWorker::EdgeIntersect(), CSailWorker::Layout0(), CSailWorker::LayoutMitre(), CSailWorker::LayoutMitre2(), CSailWorker::LayoutRadial(), CSailWorker::LayoutTriRadial(), CSailWorker::LayoutTwist(), CSailWorker::LayoutWing(), CHullWorker::makeHull(), CSailWorker::MitreIntersect(), CHullWorker::ptKeel(), and CHullWorker::ptLowChine().
| bool CSubSpace::contains | ( | const CVector & | point | ) | const |
Test whether the CSubSpace contains a given point.
Definition at line 73 of file subspace.cpp.
References CVector::norm().
| int CSubSpace::getdim | ( | ) | const [inline] |
Return the subspace's dimension.
Definition at line 48 of file subspace.h.
References CMatrix::rows().
Referenced by CPanel::add6Hems(), CHullWorker::CHullWorker(), CSailWorker::EdgeIntersect(), intersect(), CSailWorker::Layout0(), CSailWorker::LayoutMitre(), CSailWorker::LayoutMitre2(), CSailWorker::LayoutTwist(), CSailWorker::LayoutWing(), CHullWorker::makeHull(), CSailWorker::MitreIntersect(), CHullWorker::ptKeel(), and CHullWorker::ptLowChine().
| const CMatrix& CSubSpace::getm | ( | ) | const [inline] |
Accessor for the matrix.
Definition at line 57 of file subspace.h.
| const CVector& CSubSpace::getp | ( | ) | const [inline] |
Accessor for the point.
Definition at line 63 of file subspace.h.
Referenced by CPanel::add6Hems(), CHullWorker::CHullWorker(), CSailWorker::EdgeIntersect(), CSailWorker::Layout0(), CSailWorker::LayoutMitre(), CSailWorker::LayoutMitre2(), CSailWorker::LayoutRadial(), CSailWorker::LayoutTriRadial(), CSailWorker::LayoutTwist(), CSailWorker::LayoutWing(), CHullWorker::makeHull(), CSailWorker::MitreIntersect(), CHullWorker::ptKeel(), and CHullWorker::ptLowChine().
1.5.6