11 , m_coordinate_handle(coordinate)
25 const std::array<Tuple, 4> vs = {
31 for (
const auto& v : vs) {
32 for (
int i = 0; i < dim; ++i) {
33 if (!accessor.const_vector_attribute(v)[i].is_rounded()) {
const attribute::Accessor< T, Mesh, D > create_const_accessor(const attribute::MeshAttributeHandle &handle) const
int64_t get_attribute_dimension(const TypedAttributeHandle< T > &handle) const
Tuple switch_tuples(const Tuple &tuple, const ContainerType &op_sequence) const
virtual Tuple switch_tuple(const Tuple &tuple, PrimitiveType type) const =0
switch the orientation of the Tuple of the given dimension
const attribute::TypedAttributeHandle< Rational > m_coordinate_handle
bool before(const simplex::Simplex &t) const override
Swap2dUnroundedVertexInvariant(const Mesh &m, const attribute::TypedAttributeHandle< Rational > &coordinate)
Handle that represents attributes for some mesh.
const Mesh & mesh() const
const Tuple & tuple() const
constexpr wmtk::PrimitiveType PF
constexpr PrimitiveType PV
constexpr PrimitiveType PE