EgtGeomKernel :
- correzioni e migliorie alla SurfExtend.
This commit is contained in:
+5
-5
@@ -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) ;
|
||||
|
||||
Reference in New Issue
Block a user