From 22681a960d154812eadd0b8bb1eefab77be1228e Mon Sep 17 00:00:00 2001 From: Daniele Bariletti Date: Fri, 10 Oct 2025 12:13:32 +0200 Subject: [PATCH] Include : - aggiunto un tipo di interpolazione con le bezier. --- EGkCurveByInterp.h | 2 +- EXeConst.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/EGkCurveByInterp.h b/EGkCurveByInterp.h index a64c1f5..b1c8251 100644 --- a/EGkCurveByInterp.h +++ b/EGkCurveByInterp.h @@ -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) ; diff --git a/EXeConst.h b/EXeConst.h index 22bba6c..2d138e5 100644 --- a/EXeConst.h +++ b/EXeConst.h @@ -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