From e16a2078fc5e8809b02b30b25f152dea57623e85 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Fri, 10 Oct 2025 15:55:54 +0200 Subject: [PATCH] EgtGeomKernel 2.7j2 : - ricompilazione con Eigen 3.4.1. --- CurveAux.cpp | 1 + CurveByInterp.cpp | 6 +++--- EgtGeomKernel.rc | Bin 11718 -> 11718 bytes PointsPCA.cpp | 1 + SurfBezier.cpp | 1 + VolZmapGraphics.cpp | 1 + VolZmapVolume.cpp | 8 ++++---- 7 files changed, 11 insertions(+), 7 deletions(-) diff --git a/CurveAux.cpp b/CurveAux.cpp index ce190e1..e9ff464 100644 --- a/CurveAux.cpp +++ b/CurveAux.cpp @@ -25,6 +25,7 @@ #include "/EgtDev/Include/EGkStringUtils3d.h" #include "/EgtDev/Include/EGkUiUnits.h" #include "/EgtDev/Include/EgtPointerOwner.h" +#define EIGEN_NO_IO #include "/EgtDev/Extern/Eigen/Dense" using namespace std ; diff --git a/CurveByInterp.cpp b/CurveByInterp.cpp index 4b82661..9f5f891 100644 --- a/CurveByInterp.cpp +++ b/CurveByInterp.cpp @@ -55,7 +55,7 @@ CurveByInterp::GetCurve( int nMethod, int nType) if ( ! CalcBesselTangents()) return nullptr ; } - else if( nType != CUBIC_BEZIERS_LONG){ + else if ( nType != CUBIC_BEZIERS_LONG) { if ( ! CalcAkimaTangents( nMethod == AKIMA_CORNER)) return nullptr ; } @@ -103,8 +103,8 @@ CurveByInterp::GetCurve( int nMethod, int nType) return ::Release( pCrvCompo) ; } - // se richieste curve di Bezier cubiche - if (nType == CUBIC_BEZIERS_LONG) { + // se richieste curve di Bezier cubiche (ottenute da interpolazione con Nurbs) + if ( nType == CUBIC_BEZIERS_LONG) { // creo la curva composita PtrOwner pCrv ; pCrv.Set( InterpolatePointSetWithBezier( m_vPnt, EPS_SMALL)) ; diff --git a/EgtGeomKernel.rc b/EgtGeomKernel.rc index 658e2a7eb6badcd83a506195e011f1777d427fe8..d98ab35dbddf0f4225ae0e5fbc6e1ef6c099c23e 100644 GIT binary patch delta 260 zcmX>WeJpyzI%aKGhCGIJh8%`WhGK>c1_cHUhESkLCPN8BDnkm89}HwAf_cT0FKS6| z{=m$^%xJXvHs5)s$u(R$lRrqRF&a(YC?LLBKq-!K^8{`$h_o$`0t*`mtzZFbKoS8e z?2(2l#9~eesm?k$`JT?a$*WeJpyzI%aiGhCGIJh8%`ehGHOAV9;O)W+-7u1ma8}FBB-731Uyas3kpFPd#gM z9Lqc=M#Ihb`OY&hX`jGK#;zcG^Fwu6)J>CBt_NlipBAM6KDupe@OZchZce6ybVG-gbx%@?)4G64V{ CS4hAB diff --git a/PointsPCA.cpp b/PointsPCA.cpp index 7ca4bfd..96bd180 100644 --- a/PointsPCA.cpp +++ b/PointsPCA.cpp @@ -14,6 +14,7 @@ //--------------------------- Include ---------------------------------------- #include "stdafx.h" #include "PointsPCA.h" +#define EIGEN_NO_IO #include "/EgtDev/Extern/Eigen/Dense" diff --git a/SurfBezier.cpp b/SurfBezier.cpp index f09a71f..60f52e0 100644 --- a/SurfBezier.cpp +++ b/SurfBezier.cpp @@ -40,6 +40,7 @@ #include "/EgtDev/Include/EGkCurveArc.h" #include "/EgtDev/Include/EGkGeoPoint3d.h" #include "/EgtDev/Include/EGkIntervals.h" +#define EIGEN_NO_IO #include "/EgtDev/Extern/Eigen/Dense" using namespace std ; diff --git a/VolZmapGraphics.cpp b/VolZmapGraphics.cpp index 3d5b849..0950df0 100644 --- a/VolZmapGraphics.cpp +++ b/VolZmapGraphics.cpp @@ -24,6 +24,7 @@ #include "/EgtDev/Include/EGkStringUtils3d.h" #include "/EgtDev/Include/EGkChainCurves.h" #include "/EgtDev/Include/EgtNumUtils.h" +#define EIGEN_NO_IO #include "/EgtDev/Extern/Eigen/Core" #include "/EgtDev/Extern/Eigen/SVD" #include diff --git a/VolZmapVolume.cpp b/VolZmapVolume.cpp index 15769f9..8d5c0b9 100644 --- a/VolZmapVolume.cpp +++ b/VolZmapVolume.cpp @@ -17,17 +17,17 @@ #include "CurveLine.h" #include "CurveArc.h" #include "CurveBezier.h" +#include "SurfBezier.h" #include "VolZmap.h" #include "GeoConst.h" #include "IntersLineBox.h" #include "/EgtDev/Include/EGkIntervals.h" #include "/EgtDev/Include/EGkStringUtils3d.h" +#include "/EgtDev/Include/EGkSurfBezier.h" +#include "/EgtDev/Include/EGkIntersLineBox.h" +#include "/EgtDev/Include/ENkPolynomialRoots.h" #include "/EgtDev/Include/EgtNumUtils.h" #include "/EgtDev/Include/EgtPerfCounter.h" -#include "/EgtDev/Include/EGkSurfBezier.h" -#include "/EgtDev/Include/ENkPolynomialRoots.h" -#include "/EgtDev/Include/EGkIntersLineBox.h" -#include "SurfBezier.h" #include #include