EgtGeomKernel :

- correzioni e migliorie alla SurfExtend.
This commit is contained in:
Daniele Bariletti
2026-07-03 15:33:10 +02:00
parent 063322e528
commit fca95f609a
2 changed files with 56 additions and 52 deletions
+5 -5
View File
@@ -25,10 +25,10 @@
using namespace std ;
#define SAVECRVORIG 0
#define SAVEOFFDIR 0
#define SAVECYL 0
#define SAVEOFFSET 0
#define SAVECRVORIG 1
#define SAVEOFFDIR 1
#define SAVECYL 1
#define SAVEOFFSET 1
#if SAVECRVORIG || SAVEOFFDIR || SAVECYL || SAVEOFFSET
#include "/EgtDev/Include/EGkColor.h"
#include "/EgtDev/Include/EGkGeoVector3d.h"
@@ -268,7 +268,7 @@ OffsetCurve3d::Make( const PNT5AXVECTOR& vPnt5Ax, double dOffDist, int nType)
if ( vtDirPrevOff.IsValid())
dProj = vtDirCurrOff * vtDirPrevOff ;
// prima di inserirlo controllo che il tratto non torni indietro
if ( vFlag[nCurr] != ANG_STR || dProj > - 0.866) {
if ( vFlag[nCurr] != ANG_STR || dProj > - 0.966) {
// aggiungo tratto
ICurveLine* pCL = CreateBasicCurveLine() ;
pCL->Set( ptPrev, ptP) ;