EgtGeomKernel :

- in ChainCurves::Init si può passare la dimensione della cella
- corretta GetSurfTriMeshBox nel caso Regular
- chiamate asincrone in VolZmap per taglio spilloni delle tre matrici.
This commit is contained in:
Dario Sassi
2020-10-08 08:15:20 +00:00
parent 51b9263f69
commit 1cd887271f
6 changed files with 175 additions and 77 deletions
+2 -3
View File
@@ -22,7 +22,7 @@ using namespace std ;
//----------------------------------------------------------------------------
bool
ChainCurves::Init( bool bAllowInvert, double dToler, int nCrvNbrHint)
ChainCurves::Init( bool bAllowInvert, double dToler, int nCrvNbrHint, double dCellDim)
{
m_bAllowInvert = bAllowInvert ;
m_dToler = max( dToler, EPS_SMALL) ;
@@ -30,8 +30,7 @@ ChainCurves::Init( bool bAllowInvert, double dToler, int nCrvNbrHint)
m_sCrvId.rehash( nCrvNbrHint) ;
m_vCrvData.clear() ;
m_vCrvData.reserve( nCrvNbrHint) ;
const double DIM_CELL = 10.0 ;
m_PointGrid.Init( 2 * nCrvNbrHint, DIM_CELL) ;
m_PointGrid.Init( 2 * nCrvNbrHint, dCellDim) ;
m_bFromNear = false ;
m_vForkData.clear() ;
m_bIsFork = false ;