Wildmeshing Toolkit
Loading...
Searching...
No Matches
is_ccw.hxx
Go to the documentation of this file.
1
2
#pragma once
3
4
#include <cassert>
5
6
namespace
wmtk::autogen::edge_mesh
{
7
inline
bool
is_ccw
(
const
Tuple
& tuple)
8
{
9
assert(
tuple_is_valid_for_ccw
(tuple));
10
return
tuple.
local_vid
() == 0;
11
}
12
inline
bool
tuple_is_valid_for_ccw
(
const
Tuple
& tuple)
13
{
14
if
(tuple.
is_null
()) {
15
return
false
;
16
}
17
return
true
;
18
}
19
}
// namespace wmtk::autogen::edge_mesh
wmtk::Tuple
The Tuple is the basic navigation tool in our mesh data structure.
Definition
Tuple.hpp:19
wmtk::Tuple::is_null
bool is_null() const
Checks if a tuple is "null". This merely implies the global index is -1.
Definition
Tuple.hxx:41
wmtk::Tuple::local_vid
int8_t local_vid() const
Definition
Tuple.hxx:52
wmtk::autogen::edge_mesh
Definition
autogenerated_tables.cpp:4
wmtk::autogen::edge_mesh::is_ccw
bool is_ccw(const Tuple &t)
Definition
is_ccw.hxx:7
wmtk::autogen::edge_mesh::tuple_is_valid_for_ccw
bool tuple_is_valid_for_ccw(const Tuple &t)
Definition
is_ccw.hxx:12
src
wmtk
autogen
edge_mesh
is_ccw.hxx
Generated by
1.9.8