Add .perpendicular() function in Geometry module (adapted from Eigen1)

Documentation:
 * add an overview for each module.
 * add an example for .all() and Cwise::operator<
This commit is contained in:
Gael Guennebaud
2008-07-22 10:54:42 +00:00
parent 516db2c3b9
commit 172000aaeb
22 changed files with 189 additions and 36 deletions

View File

@@ -81,7 +81,12 @@ struct ei_any_unroller<Derived, Dynamic>
*
* \returns true if all coefficients are true
*
* \sa MatrixBase::any()
* \addexample CwiseAll \label How to check whether a point is inside a box (using operator< and all())
*
* Example: \include MatrixBase_all.cpp
* Output: \verbinclude MatrixBase_all.out
*
* \sa MatrixBase::any(), Cwise::operator<()
*/
template<typename Derived>
bool MatrixBase<Derived>::all(void) const
@@ -105,7 +110,7 @@ bool MatrixBase<Derived>::all(void) const
*
* \returns true if at least one coefficient is true
*
* \sa MatrixBase::any()
* \sa MatrixBase::all()
*/
template<typename Derived>
bool MatrixBase<Derived>::any(void) const