author | Dmitriy Morozov <morozov@cs.duke.edu> |
Wed, 27 Feb 2008 17:44:46 -0500 | |
branch | ar |
changeset 78 | 20e1dff50d03 |
parent 77 | 8e55bf20802a |
child 79 | e48a7036cd88 |
--- a/include/topology/conesimplex.h Wed Feb 27 16:32:12 2008 -0500 +++ b/include/topology/conesimplex.h Wed Feb 27 17:44:46 2008 -0500 @@ -9,6 +9,9 @@ #include <list> #include <iostream> +#include "utilities/types.h" + + template<class S> class ConeSimplex: public S { @@ -24,6 +27,7 @@ Cycle boundary() const; bool coned() const { return coned_; } + Dimension dimension() const { return coned_ ? (Parent::dimension() + 1) : Parent::dimension(); } std::ostream& operator<<(std::ostream& out) const;