#include "_curve_func.h"#include <ETL/fixed>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 > |
Defines | |
| #define | MAXDEPTH 64 |
| #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)) |
| #define | DEGREE 3 |
| #define | W_DEGREE 5 |
| #define MAXDEPTH 64 |
======================================================================== Extended Template Library Bezier Template Class Implementation
Copyright (c) 2002 Robert B. Quattlebaum Jr.
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 37 of file _bezier.h.
Referenced by bezier< V, T >::FindRoots().
| #define SGN | ( | a | ) | (((a)<0) ? -1 : 1) |
| #define MIN | ( | a, | |||
| b | ) | (((a)<(b))?(a):(b)) |
Definition at line 44 of file _bezier.h.
Referenced by bezier< V, T >::ControlPolygonFlatEnough(), and bezier< V, T >::ConvertToBezierForm().
| #define MAX | ( | a, | |||
| b | ) | (((a)>(b))?(a):(b)) |
Definition at line 49 of file _bezier.h.
Referenced by bezier< V, T >::ControlPolygonFlatEnough(), and bezier< V, T >::ConvertToBezierForm().
| #define BEZIER_EPSILON (ldexp(1.0,-MAXDEPTH-1)) |
| #define DEGREE 3 |
Definition at line 54 of file _bezier.h.
Referenced by bezier< V, T >::ConvertToBezierForm(), and bezier< V, T >::NearestPointOnCurve().
| #define W_DEGREE 5 |
Definition at line 55 of file _bezier.h.
Referenced by bezier< V, T >::Bezier(), bezier< V, T >::ComputeXIntercept(), bezier< V, T >::ControlPolygonFlatEnough(), bezier< V, T >::ConvertToBezierForm(), bezier< V, T >::CrossingCount(), bezier< V, T >::FindRoots(), and bezier< V, T >::NearestPointOnCurve().
1.5.2