EgtMachKernel :

- migliorati casi ottimizzati trapezi e ZigZag con 0 lati aperti.
This commit is contained in:
Riccardo Elitropi
2023-07-28 17:02:29 +02:00
parent 7cd3925e4c
commit d7a5f4aa72
3 changed files with 268 additions and 126 deletions
+2 -2
View File
@@ -589,7 +589,7 @@ Operation::GetSignedDistFromStmRaw( int nPhase, const Point3d ptP, const Vector3
// Trimesh della parte p-esima
PtrOwner<ISurfTriMesh> pStmRawPart( CloneSurfTriMesh( GetSurfTriMesh( pGObj))) ;
if( IsNull( pStmRawPart))
if ( IsNull( pStmRawPart))
return false ;
// porto la trimesh in globale
@@ -625,7 +625,7 @@ Operation::GetSignedDistFromStmRaw( int nPhase, const Point3d ptP, const Vector3
pCrvEdge->FromPolyLine( vP[j]) ;
if ( !pCrvEdge->IsValid() || pCrvEdge->GetCurveCount() == 0)
return false ;
if( pCrvEdge->IsPointOn( ptP))
if ( pCrvEdge->IsPointOn( ptP))
bIsCurrOnLoop = true ;
}
}