EgtMachKernel :
- migliorati casi ottimizzati trapezi e ZigZag con 0 lati aperti.
This commit is contained in:
+2
-2
@@ -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 ;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user