12 #ifndef __PREDICATES_H 13 #define __PREDICATES_H 24 double orient1d(
double a,
double b,
double x);
29 double _orient2d(
const double* a,
const double* b,
const double* c);
32 double orient2d(
const Point& a,
const Point& b,
const Point& c);
37 double _orient3d(
const double* a,
const double* b,
const double* c,
const double* d);
40 double orient3d(
const Point& a,
const Point& b,
const Point& c,
const Point& d);
double orient1d(double a, double b, double x)
Compute relative orientation of point x wrt segment [a, b].
Definition: predicates.cpp:5
void exactinit()
Initialize tolerances for exact arithmetic.
Definition: predicates.cpp:670
double _orient2d(const double *a, const double *b, const double *c)
double orient2d(const Point &a, const Point &b, const Point &c)
Convenience function using dolfin::Point.
Definition: predicates.cpp:12
double orient3d(const Point &a, const Point &b, const Point &c, const Point &d)
Convenience function using dolfin::Point.
Definition: predicates.cpp:19
double _orient3d(const double *a, const double *b, const double *c, const double *d)
Definition: predicates.h:46