EgtGeomKernel :
- correzione di un errore numerico nel tracking delle curve di trim.
This commit is contained in:
@@ -1638,8 +1638,8 @@ Tree::FindCell( const Point3d& ptToAssign, const CurveLine& clTrim) const
|
||||
int nId = -1 ;
|
||||
// se fallisce ritorna un vettore vuoto
|
||||
// verifico che il punto sia all'interno dello spazio parametrico
|
||||
if ( ptToAssign.x < m_mTree.at( -1).GetBottomLeft().x || ptToAssign.x > m_mTree.at( -1).GetTopRight().x ||
|
||||
ptToAssign.y < m_mTree.at( -1).GetBottomLeft().y || ptToAssign.y > m_mTree.at( -1).GetTopRight().y ) {
|
||||
if ( ptToAssign.x < m_mTree.at( -1).GetBottomLeft().x - EPS_SMALL || ptToAssign.x > m_mTree.at( -1).GetTopRight().x + EPS_SMALL||
|
||||
ptToAssign.y < m_mTree.at( -1).GetBottomLeft().y - EPS_SMALL || ptToAssign.y > m_mTree.at( -1).GetTopRight().y + EPS_SMALL) {
|
||||
//nCells.push_back( - 2) ;
|
||||
return nCells ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user