1 |
/*
|
2 |
* This file is a part of the C port of the Poly2Tri library
|
3 |
* Porting to C done by (c) Barak Itkin <lightningismyname@gmail.com>
|
4 |
* http://code.google.com/p/poly2tri-c/
|
5 |
*
|
6 |
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
|
7 |
* http://code.google.com/p/poly2tri/
|
8 |
*
|
9 |
* All rights reserved.
|
10 |
*
|
11 |
* Redistribution and use in source and binary forms, with or without modification,
|
12 |
* are permitted provided that the following conditions are met:
|
13 |
*
|
14 |
* * Redistributions of source code must retain the above copyright notice,
|
15 |
* this list of conditions and the following disclaimer.
|
16 |
* * Redistributions in binary form must reproduce the above copyright notice,
|
17 |
* this list of conditions and the following disclaimer in the documentation
|
18 |
* and/or other materials provided with the distribution.
|
19 |
* * Neither the name of Poly2Tri nor the names of its contributors may be
|
20 |
* used to endorse or promote products derived from this software without specific
|
21 |
* prior written permission.
|
22 |
*
|
23 |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
24 |
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
25 |
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
26 |
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
27 |
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
28 |
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
29 |
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
30 |
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
31 |
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
32 |
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
33 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
34 |
*/
|
35 |
|
36 |
#ifndef __P2TC_P2T_POLY2TRI_PRIVATE_H__
|
37 |
#define __P2TC_P2T_POLY2TRI_PRIVATE_H__
|
38 |
|
39 |
#ifdef __cplusplus
|
40 |
extern "C"
|
41 |
{
|
42 |
#endif
|
43 |
|
44 |
typedef struct _P2tNode P2tNode;
|
45 |
typedef struct AdvancingFront_ P2tAdvancingFront;
|
46 |
typedef struct CDT_ P2tCDT;
|
47 |
typedef struct _P2tEdge P2tEdge;
|
48 |
typedef struct _P2tPoint P2tPoint;
|
49 |
typedef struct _P2tTriangle P2tTriangle;
|
50 |
typedef struct SweepContext_ P2tSweepContext;
|
51 |
typedef struct Sweep_ P2tSweep;
|
52 |
|
53 |
typedef struct P2tSweepContextBasin_ P2tSweepContextBasin;
|
54 |
typedef struct P2tSweepContextEdgeEvent_ P2tSweepContextEdgeEvent;
|
55 |
|
56 |
|
57 |
#ifdef __cplusplus
|
58 |
}
|
59 |
#endif
|
60 |
|
61 |
#endif /* POLY2TRI_PRIVATE_H */
|
62 |
|