From: Stefan Huber Date: Thu, 9 Jan 2014 11:29:04 +0000 (+0100) Subject: Add simplex_order::get_complex() X-Git-Tag: v0.1~10 X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=1e1b88154c99e34f7d84403adfbb3b7fb364a80e;p=libstick.git Add simplex_order::get_complex() --- diff --git a/include/libstick-0.1/simplicialcomplex.h b/include/libstick-0.1/simplicialcomplex.h index 482e12d..e83daa4 100644 --- a/include/libstick-0.1/simplicialcomplex.h +++ b/include/libstick-0.1/simplicialcomplex.h @@ -121,6 +121,10 @@ class simplicial_complex { return c.simplices[order.at(i)]; } + const simplcompltype& get_complex() const { + return c; + } + /** Returns true iff the faces of simplex i are before i in this order. */ bool is_filtration() const { assert(size() == c.size());