Include :
- aggiunto un tipo di interpolazione con le bezier.
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ class CurveByInterp
|
||||
|
||||
public :
|
||||
enum METHOD { BESSEL = 1, AKIMA = 2, AKIMA_CORNER = 3} ;
|
||||
enum TYPE { BIARCS = 1, CUBIC_BEZIERS = 2} ;
|
||||
enum TYPE { BIARCS = 1, CUBIC_BEZIERS = 2, CUBIC_BEZIERS_LONG = 3} ;
|
||||
|
||||
private :
|
||||
bool CalcAkimaTangents( bool bDetectCorner) ;
|
||||
|
||||
+2
-1
@@ -59,7 +59,8 @@ const int RTY_DEFAULT = RTY_LOC ;
|
||||
//----------------- Costanti tipo di interpolazione ----------------------------
|
||||
enum InterpType{ ITT_ARCS = 0, // stima tg Akima, curve risultanti archi
|
||||
ITT_ARCS_CORNER = 1, // stima tg AkimaCorner, curve risultanti archi
|
||||
ITT_CUBICS = 2} ; // stima tg Bessel, curve risultanti Bezier cubiche
|
||||
ITT_CUBICS = 2, // stima tg Bessel, curve risultanti Bezier cubiche
|
||||
ITT_CUBICS_LONG = 3} ; // interpolazione con nurbs, poi convertite in bezier
|
||||
|
||||
//----------------- Costanti tipo di approssimazione di curve ------------------
|
||||
enum ApprType{ APP_LINES = 0, // come ICurve::APL_STD
|
||||
|
||||
Reference in New Issue
Block a user