21 #ifndef __GEOMETRY_PREDICATES_H 22 #define __GEOMETRY_PREDICATES_H 25 #include <dolfin/log/LogStream.h> 44 static bool is_finite(
const std::vector<Point>& simplex);
47 static bool is_finite(
const std::vector<double>& simplex);
56 static bool _is_degenerate_tdim_1(
const std::vector<Point>& simplex);
58 static bool _is_degenerate_tdim_2_gdim_2(
const std::vector<Point>& simplex);
60 static bool _is_degenerate_tdim_2_gdim_3(
const std::vector<Point>& simplex);
62 static bool _is_degenerate_tdim_3_gdim_3(
const std::vector<Point>& simplex);
static bool convex_hull_is_degenerate(const std::vector< Point > &p, std::size_t gdim)
Check whether the convex hull is degenerate.
Definition: GeometryPredicates.cpp:144
static bool is_degenerate(const std::vector< Point > &simplex, std::size_t tdim, std::size_t gdim)
Check whether a single simplex is degenerate.
Definition: GeometryPredicates.cpp:29
static bool is_finite(const std::vector< Point > &simplex)
Check whether simplex is finite (not Inf or NaN)
Definition: GeometryPredicates.cpp:120
Definition: GeometryPredicates.h:34