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