File: predicates.h

package info (click to toggle)
asymptote 2.69%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 18,532 kB
  • sloc: cpp: 61,286; ansic: 48,418; python: 8,585; javascript: 4,283; sh: 4,069; perl: 1,564; lisp: 1,505; makefile: 609; yacc: 554; lex: 446
file content (22 lines) | stat: -rw-r--r-- 986 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef PREDICATES_H
#define PREDICATES_H

double orient2d(const double* pa, const double* pb, const double* pc);
double orient2d(double ax, double ay, double bx, double by, double cx,
                double cy);
double orient2dadapt(const double *pa, const double *pb, const double *pc,
                     double detsum);
double orient3d(const double *pa, const double *pb, const double *pc,
                const double *pd);
double incircle(const double *pa, const double *pb, const double *pc,
                const double *pd);
double incircle(double ax, double ay, double bx, double by, double cx,
                double cy, double dx, double dy);
double insphere(const double *pa, const double *pb, const double *pc,
                const double *pd, const double *pe);

extern const double resulterrbound,ccwerrboundA,ccwerrboundB,ccwerrboundC,
  o3derrboundA,o3derrboundB,o3derrboundC,iccerrboundA,iccerrboundB,
  iccerrboundC,isperrboundA,isperrboundB,isperrboundC;

#endif