EgtMachKernel :
- modificata Operation::GetRawGlobBox per tener conto dell'ingombro utensile.
This commit is contained in:
+2
-2
@@ -358,7 +358,7 @@ Operation::GetDistanceFromRawBottom( int nPhase, int nPathId, double dToler, dou
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Operation::GetRawGlobBox( int nPhase, int nPathId, BBox3d& b3Raw)
|
||||
Operation::GetRawGlobBox( int nPhase, int nPathId, double dToler, BBox3d& b3Raw)
|
||||
{
|
||||
if ( m_pMchMgr == nullptr || m_pGeomDB == nullptr)
|
||||
return false ;
|
||||
@@ -368,7 +368,7 @@ Operation::GetRawGlobBox( int nPhase, int nPathId, BBox3d& b3Raw)
|
||||
BBox3d b3Compo ;
|
||||
if ( ! m_pGeomDB->GetGlobalBBox( nPathId, b3Compo))
|
||||
return false ;
|
||||
b3Compo.Expand( 10 * EPS_SMALL, 10 * EPS_SMALL, 0) ;
|
||||
b3Compo.Expand( dToler, dToler, 0) ;
|
||||
int nRawId = m_pMchMgr->GetFirstRawPart() ;
|
||||
while ( nRawId != GDB_ID_NULL) {
|
||||
// verifico che il grezzo compaia nella fase
|
||||
|
||||
Reference in New Issue
Block a user