From bab45528d65eaafe68a705dbb2a57075c7b7cbd8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 16 May 2009 00:19:13 +0000 Subject: asymptote 1.72 sources (not integrated into build yet) git-svn-id: svn://tug.org/texlive/trunk@13110 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/asymptote/Delaunay.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Build/source/utils/asymptote/Delaunay.h (limited to 'Build/source/utils/asymptote/Delaunay.h') diff --git a/Build/source/utils/asymptote/Delaunay.h b/Build/source/utils/asymptote/Delaunay.h new file mode 100644 index 00000000000..bc68565ef84 --- /dev/null +++ b/Build/source/utils/asymptote/Delaunay.h @@ -0,0 +1,29 @@ +#ifndef DELAUNAY_H +#define DELAUNAY_H + +#include +#include +#include +#include + +#include "common.h" + +struct ITRIANGLE{ + Int p1, p2, p3; +}; + +struct IEDGE{ + Int p1, p2; +}; + +struct XYZ{ + double p[2]; // {x,y} + Int i; +}; + +Int Triangulate(Int nv, XYZ pxyz[], ITRIANGLE v[], Int &ntri, + bool presort=true, bool postsort=true); + +#endif + + -- cgit v1.2.3