From 3ce904e2dde6c8feb5cb46945fb490fdd76a5c90 Mon Sep 17 00:00:00 2001 From: Daniele Bariletti Date: Wed, 11 Feb 2026 16:45:02 +0100 Subject: [PATCH] =?UTF-8?q?Include=20:=20-=20aggiunta=20modalit=C3=A0=20di?= =?UTF-8?q?=20approssimazione=20con=20bezier.=20-=20aggiornata=20la=20chia?= =?UTF-8?q?mata=20alla=20funzione=20di=20approssimazione=20con=20bezier.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EGkCurveAux.h | 2 +- EXeConst.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/EGkCurveAux.h b/EGkCurveAux.h index 2b50a73..3f419ff 100644 --- a/EGkCurveAux.h +++ b/EGkCurveAux.h @@ -78,7 +78,7 @@ EGK_EXPORT ICurveBezier* ApproxArcCurveBezierWithSingleCubic( const ICurve* pCrv //---------------------------------------------------------------------------- //! Campiona una serie di punti dalla curva e li approssima con una o pił curve di bezier -EGK_EXPORT ICurve* ApproxCurveWithBezier( const ICurve* pCrv, double dTol, int nType) ; +EGK_EXPORT ICurve* ApproxCurveWithBezier( const ICurve* pCrv, double dTol) ; //---------------------------------------------------------------------------- //! Interpola un set di punti e li approssima con una o pił curve di bezier cubiche diff --git a/EXeConst.h b/EXeConst.h index 2d138e5..ca71f5a 100644 --- a/EXeConst.h +++ b/EXeConst.h @@ -69,7 +69,8 @@ enum ApprType{ APP_LINES = 0, // come ICurve::APL_STD APP_LEFT_CONVEX_LINES = 11, // come ICurve::APL_LEFT_CONVEX APP_RIGHT_LINES = 2, // come ICurve::APL_RIGHT APP_RIGHT_CONVEX_LINES = 12, // come ICurve::APL_RIGHT_CONVEX - APP_ARCS = 3} ; + APP_ARCS = 3, + APP_CUBIC_BEZIER = 4} ; //----------------- Costanti tipo punto intersezione Linea Curva --------------- enum CLiType { CLT_NONE = 0,