Migliorie in polyline e split parti triangolabili
This commit is contained in:
@@ -4162,7 +4162,7 @@ SplitPolyLineContour( const POLYLINEVECTOR& vContourVec, POLYLINEVECTOR& vContou
|
||||
return false ;
|
||||
// Se la complessità non è eccessiva, non procedo.
|
||||
int nPointsNum = vContourVec[0].GetPointNbr() ;
|
||||
if ( nPointsNum < 10)
|
||||
if ( nPointsNum < 4)
|
||||
return false ;
|
||||
for ( int n = 1 ; n < int( vContourVec.size()) ; ++ n)
|
||||
nPointsNum += vContourVec[n].GetPointNbr() ;
|
||||
@@ -4478,7 +4478,7 @@ SurfTriMesh::IntersectTriMeshFacets( SurfTriMesh& Other)
|
||||
{ ////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
static int nTime = 0;
|
||||
nTime++;
|
||||
if (nTime == 14)
|
||||
if (nTime == 4)
|
||||
nTime = 0;
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
SurfTriMesh& SurfB = Other ;
|
||||
|
||||
Reference in New Issue
Block a user