Correzioni/UtensileSferico/NB:CiSonoLineePerTest
This commit is contained in:
+10
-1
@@ -28,6 +28,10 @@ using namespace std ;
|
||||
bool
|
||||
VolZmap::Create( const Point3d& ptO, double dLengthX, double dLengthY, double dLengthZ, double dStep, bool bTriDex)
|
||||
{
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////// Test Additivi //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
return CreateEmptyMap(ptO, dLengthX, dLengthY, dLengthZ, dStep, bTriDex);
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Controlli sull'ammissibilità delle dimensioni lineari del grezzo e del passo
|
||||
if ( dStep < EPS_SMALL || dLengthX < EPS_SMALL || dLengthY < EPS_SMALL || dLengthZ < EPS_SMALL)
|
||||
return false ;
|
||||
@@ -736,6 +740,11 @@ VolZmap::CreateEmptyMap( const Point3d& ptO, double dLengthX, double dLengthY, d
|
||||
|
||||
// Aggiornamento dello stato
|
||||
m_nStatus = OK ;
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
/////////////////////////////////////// Test Additivi ///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
AddTool();
|
||||
SetCurrTool(0);
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
return true ;
|
||||
}
|
||||
Reference in New Issue
Block a user