diff --git a/EgtGeomKernel.rc b/EgtGeomKernel.rc index 74eafbf..b389857 100644 Binary files a/EgtGeomKernel.rc and b/EgtGeomKernel.rc differ diff --git a/VolZmapCalculus.cpp b/VolZmapCalculus.cpp index 2305dfc..3f3abb9 100644 --- a/VolZmapCalculus.cpp +++ b/VolZmapCalculus.cpp @@ -1185,7 +1185,7 @@ VolZmap::IntersLineMyPolyhedron( const Point3d& ptLineSt, const Vector3d& vtLine dDeltaZ = dDeltaZ * ( 1 - ( 2 * EPS_SMALL) / dLenX) ; // Riferimento del poliedro offsettato Frame3d frInnerFrame = PolyFrame ; - frInnerFrame.Translate( dOffsetX * frInnerFrame.VersX() + dOffsetZ * frInnerFrame.VersZ()) ; + frInnerFrame.Translate( dOffsetX * frInnerFrame.VersX() + ( dOffsetZ + EPS_SMALL * dDeltaZ / dLenX) * frInnerFrame.VersZ()) ; Point3d ptP = ptLineSt ; Vector3d vtV = vtLineDir ; diff --git a/VolZmapVolume.cpp b/VolZmapVolume.cpp index 4f0ad33..56e350a 100644 --- a/VolZmapVolume.cpp +++ b/VolZmapVolume.cpp @@ -53,7 +53,7 @@ VolZmap::SubtractIntervals( unsigned int nGrid, unsigned int nI, unsigned int nJ // Riporto le coordinate cicliche nell'ordine di partenza Vector3d vtNmi = vtNMin ; Vector3d vtNma = vtNMax ; - // Passo dalla grilgia al sistema intrinseco + // Passo dalla griglia al sistema intrinseco if ( nGrid == 1) { swap( vtNmi.x, vtNmi.z) ; swap( vtNmi.y, vtNmi.z) ;