EgtMachKernel :
- In PocketingNT rimossi commenti in eccesso.
This commit is contained in:
@@ -1857,16 +1857,6 @@ PocketingNT::GetSfrRawProjection( const ISurfTriMesh* pStmRaw, const ISurfFlatRe
|
||||
if ( ! plProj.Set( ptCen, vtTool))
|
||||
return nullptr ;
|
||||
|
||||
/*int a = m_pGeomDB->AddGeoObj( GDB_ID_NULL, GDB_ID_ROOT, pSfr->Clone()) ;
|
||||
m_pGeomDB->SetMaterial( a, Color( 0., 1., 0., .5)) ;
|
||||
a = m_pGeomDB->AddGeoObj( GDB_ID_NULL, GDB_ID_ROOT, pStmRaw->Clone()) ;
|
||||
m_pGeomDB->SetMaterial( a, Color( 5., 1., 0., .5)) ;
|
||||
PtrOwner<IGeoFrame3d> fr( CreateGeoFrame3d()) ;
|
||||
Frame3d frr ; frr.Set( ptCen, vtTool) ;
|
||||
fr->Set( frr) ;
|
||||
m_pGeomDB->AddGeoObj( GDB_ID_NULL, GDB_ID_ROOT, fr->Clone()) ;*/
|
||||
|
||||
|
||||
// recupero la Silhouette al piano trovato
|
||||
POLYLINEVECTOR vPL ;
|
||||
if ( ! pStmRaw->GetSilhouette( plProj, EPS_SMALL, vPL))
|
||||
@@ -1881,8 +1871,6 @@ PocketingNT::GetSfrRawProjection( const ISurfTriMesh* pStmRaw, const ISurfFlatRe
|
||||
PtrOwner<ICurveComposite> pCrvLoop( CreateCurveComposite()) ;
|
||||
if ( IsNull( pCrvLoop) || ! pCrvLoop->FromPolyLine( PL))
|
||||
return nullptr ;
|
||||
/*a = m_pGeomDB->AddGeoObj( GDB_ID_NULL, GDB_ID_ROOT, pCrvLoop->Clone()) ;
|
||||
m_pGeomDB->SetMaterial( a, RED) ;*/
|
||||
SfrByC.AddCurve( Release( pCrvLoop)) ;
|
||||
}
|
||||
PtrOwner<ISurfFlatRegion> pSfrRaw( SfrByC.GetSurf()) ;
|
||||
@@ -1890,8 +1878,6 @@ PocketingNT::GetSfrRawProjection( const ISurfTriMesh* pStmRaw, const ISurfFlatRe
|
||||
return nullptr ;
|
||||
if ( AreOppositeVectorApprox( pSfrRaw->GetNormVersor(), vtTool))
|
||||
pSfrRaw->Invert() ;
|
||||
/* a = m_pGeomDB->AddGeoObj( GDB_ID_NULL, GDB_ID_ROOT, pSfrRaw->Clone()) ;
|
||||
m_pGeomDB->SetMaterial( a, ORANGE) ;*/
|
||||
return Release( pSfrRaw) ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user