diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/asymptote/predicates.h |
Initial commit
Diffstat (limited to 'graphics/asymptote/predicates.h')
-rw-r--r-- | graphics/asymptote/predicates.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/asymptote/predicates.h b/graphics/asymptote/predicates.h new file mode 100644 index 0000000000..9843c548ff --- /dev/null +++ b/graphics/asymptote/predicates.h @@ -0,0 +1,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 |