fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / System / NodeCores / Drawables / Nurbs / Internal / OSGpredicates.h
blobdcdf3363881fa57104bdf1705b1bb4a560dc6406
1 /* GTS - Library for the manipulation of triangulated surfaces
2 * Copyright (C) 1999 St�phane Popinet
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
19 /* Header file for robust predicates by Jonathan Richard Shewchuk */
21 #ifndef __OSG_PREDICATES_H__
22 #define __OSG_PREDICATES_H__
24 #ifdef __sgi
25 #pragma once
26 #endif
28 #include "OSGDrawableDef.h"
29 #include "OSGConfig.h"
31 OSG_BEGIN_NAMESPACE
33 //#ifdef __cplusplus
34 //extern "C" {
35 //#endif
37 OSG_DRAWABLE_DLLMAPPING
38 double orient2d (double * pa,
39 double * pb,
40 double * pc);
42 OSG_DRAWABLE_DLLMAPPING
43 double orient3d (double * pa,
44 double * pb,
45 double * pc,
46 double * pd);
48 OSG_DRAWABLE_DLLMAPPING
49 double incircle (double * pa,
50 double * pb,
51 double * pc,
52 double * pd);
54 OSG_DRAWABLE_DLLMAPPING
55 double insphere (double * pa,
56 double * pb,
57 double * pc,
58 double * pd,
59 double * pe);
61 OSG_DRAWABLE_DLLMAPPING
62 void exactinit ();
64 //#ifdef __cplusplus
65 //}
66 //#endif
67 OSG_END_NAMESPACE
69 #endif /* __OSG_PREDICATES_H__ */