|
ETL
0.04.19
|
Go to the source code of this file.
Classes | |
| class | bezier_base< V, T > |
| Cubic Bezier Curve Base Class. More... | |
| class | bezier_base< float, float > |
| class | bezier_base< double, float > |
| class | bezier_iterator< V, T > |
| struct | bezier_iterator< V, T >::iterator_category |
| class | bezier< V, T > |
Macros | |
| #define | MAXDEPTH 64 /* Maximum depth for recursion */ |
| #define | SGN(a) (((a)<0) ? -1 : 1) |
| #define | MIN(a, b) (((a)<(b))?(a):(b)) |
| #define | MAX(a, b) (((a)>(b))?(a):(b)) |
| #define | BEZIER_EPSILON (ldexp(1.0,-MAXDEPTH-1)) /*Flatness control value */ |
| #define | DEGREE 3 /* Cubic Bezier curve */ |
| #define | W_DEGREE 5 /* Degree of eqn to find roots of */ |
| #define MAXDEPTH 64 /* Maximum depth for recursion */ |
======================================================================== Extended Template Library Bezier Template Class Implementation $Id$
Copyright (c) 2002 Robert B. Quattlebaum Jr. Copyright (c) 2007 Chris Moore
This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
=== N O T E S ===========================================================
This is an internal header file, included by other ETL headers. You should not attempt to use it directly.
Definition at line 39 of file _bezier.h.
Referenced by bezier< T, float >::FindRoots().
| #define SGN | ( | a | ) | (((a)<0) ? -1 : 1) |
Definition at line 42 of file _bezier.h.
Referenced by bezier< T, float >::CrossingCount().
| #define MIN | ( | a, | |
| b | |||
| ) | (((a)<(b))?(a):(b)) |
Definition at line 46 of file _bezier.h.
Referenced by bezier< T, float >::ControlPolygonFlatEnough(), and bezier< T, float >::ConvertToBezierForm().
| #define MAX | ( | a, | |
| b | |||
| ) | (((a)>(b))?(a):(b)) |
Definition at line 51 of file _bezier.h.
Referenced by bezier< T, float >::ControlPolygonFlatEnough(), and bezier< T, float >::ConvertToBezierForm().
Definition at line 54 of file _bezier.h.
Referenced by bezier< T, float >::ControlPolygonFlatEnough().
| #define DEGREE 3 /* Cubic Bezier curve */ |
Definition at line 56 of file _bezier.h.
Referenced by bezier< T, float >::ConvertToBezierForm(), and bezier< T, float >::NearestPointOnCurve().
| #define W_DEGREE 5 /* Degree of eqn to find roots of */ |
Definition at line 57 of file _bezier.h.
Referenced by bezier< T, float >::Bezier(), bezier< T, float >::ComputeXIntercept(), bezier< T, float >::ControlPolygonFlatEnough(), bezier< T, float >::ConvertToBezierForm(), bezier< T, float >::CrossingCount(), bezier< T, float >::FindRoots(), and bezier< T, float >::NearestPointOnCurve().
1.8.1.2