EgtGeomKernel :
- piccola modifica a SurfTriMesh::Cut per evitare deformazione facce per aggiustamento vertici su piano di taglio.
This commit is contained in:
+1
-1
@@ -187,7 +187,7 @@ Polygon3d::Trim( const Plane3d& plPlane, bool bInVsOut, bool bOnEq, bool bOnCt)
|
||||
DBLVECTOR vDist ;
|
||||
vDist.reserve( m_vVert.capacity()) ;
|
||||
for ( auto& ptP : m_vVert) {
|
||||
double dDist = ( ptP - ORIG) * plPlane.GetVersN() - plPlane.GetDist() ;
|
||||
double dDist = DistPointPlane( ptP, plPlane) ;
|
||||
if ( abs( dDist) < EPS_SMALL)
|
||||
++ nNbrOn ;
|
||||
else if ( dDist < 0)
|
||||
|
||||
Reference in New Issue
Block a user