Wildmeshing Toolkit
RoundedInvariant.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
wmtk/attribute/TypedAttributeHandle.hpp
>
4
#include "
Invariant.hpp
"
5
6
namespace
wmtk
{
7
class
RoundedInvariant
:
public
Invariant
8
{
9
public
:
18
RoundedInvariant
(
19
const
Mesh
& m,
20
const
attribute::TypedAttributeHandle<Rational>
& coordinate,
21
bool
inverse_flag =
false
);
22
using
Invariant::Invariant
;
23
24
bool
before
(
const
simplex::Simplex
& t)
const override
;
25
26
private
:
27
const
attribute::TypedAttributeHandle<Rational>
m_coordinate_handle
;
28
bool
inverse
=
false
;
29
};
30
}
// namespace wmtk
Invariant.hpp
TypedAttributeHandle.hpp
wmtk::Mesh
Definition:
Mesh.hpp:106
wmtk::RoundedInvariant
Definition:
RoundedInvariant.hpp:8
wmtk::RoundedInvariant::RoundedInvariant
RoundedInvariant(const Mesh &m, const attribute::TypedAttributeHandle< Rational > &coordinate, bool inverse_flag=false)
Construct a new Rounded Invariant object.
Definition:
RoundedInvariant.cpp:8
wmtk::RoundedInvariant::m_coordinate_handle
const attribute::TypedAttributeHandle< Rational > m_coordinate_handle
Definition:
RoundedInvariant.hpp:27
wmtk::RoundedInvariant::inverse
bool inverse
Definition:
RoundedInvariant.hpp:28
wmtk::RoundedInvariant::before
bool before(const simplex::Simplex &t) const override
Definition:
RoundedInvariant.cpp:17
wmtk::attribute::TypedAttributeHandle
Handle that represents attributes for some mesh.
Definition:
TypedAttributeHandle.hpp:28
wmtk::invariants::Invariant
Definition:
Invariant.hpp:12
wmtk::invariants::Invariant::Invariant
Invariant(const Mesh &m)
Definition:
Invariant.cpp:10
wmtk::simplex::Simplex
Definition:
Simplex.hpp:22
wmtk
Definition:
Accessor.hpp:6
src
wmtk
invariants
RoundedInvariant.hpp
Generated by
1.9.1