aboutsummaryrefslogtreecommitdiff
path: root/generic/Geo.h
diff options
context:
space:
mode:
authorlecoanet2002-11-05 09:22:40 +0000
committerlecoanet2002-11-05 09:22:40 +0000
commit5e0ed72ae64be877c89bf8a73c9788866f76d3b8 (patch)
tree0536f97407c912ad62e77383c706b8185d4a795b /generic/Geo.h
parentf0605f12f86b05b41df1ad0f5e912a9eb4e92f91 (diff)
downloadtkzinc-5e0ed72ae64be877c89bf8a73c9788866f76d3b8.zip
tkzinc-5e0ed72ae64be877c89bf8a73c9788866f76d3b8.tar.gz
tkzinc-5e0ed72ae64be877c89bf8a73c9788866f76d3b8.tar.bz2
tkzinc-5e0ed72ae64be877c89bf8a73c9788866f76d3b8.tar.xz
Ajout des fonctions TestCCW et GetBezierPoints, BezierSubdivide disparait.
Le param�tre fan est ajout� � TRI_STRIP1.
Diffstat (limited to 'generic/Geo.h')
-rw-r--r--generic/Geo.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/generic/Geo.h b/generic/Geo.h
index e1be69b..74d462c 100644
--- a/generic/Geo.h
+++ b/generic/Geo.h
@@ -85,7 +85,8 @@ POLY_FREE(ZnPoly *poly);
void
TRI_STRIP1(ZnTriStrip *tristrip,
ZnPoint *pts,
- int num_pts);
+ int num_pts,
+ ZnBool fan);
void
TRI_FREE(ZnTriStrip *tristrip);
@@ -270,16 +271,18 @@ InsetPolygon(ZnPoint *p,
ZnDim inset);
void
-BezierSubdivide(ZnPoint *controls,
- ZnReal t,
- ZnBool first);
-
-void
SmoothPathWithBezier(ZnPoint *from_points,
int num_points,
ZnList to_points);
void
+GetBezierPoints(ZnPoint *p1,
+ ZnPoint *c1,
+ ZnPoint *c2,
+ ZnPoint *p2,
+ ZnList to_points,
+ double eps);
+void
GetBezierPath(ZnList from_points,
ZnList to_points);
@@ -312,5 +315,9 @@ GetLineEnd(ZnPoint *p1,
ZnLineEnd end_style,
ZnPoint *points);
+ZnBool
+TestCCW(ZnPoint *p,
+ int num_points);
+
#endif /* _Geo_h */