EgtGeomKernel :
- migliorie e correzioni a SurfExtend e Offset3d.
This commit is contained in:
+2
-2
@@ -269,7 +269,7 @@ OffsetCurve3d::Make( const PNT5AXVECTOR& vPnt5Ax, double dOffDist, int nType)
|
||||
if ( vtDirPrevOff.IsValid())
|
||||
dProj = vtDirCurrOff * vtDirPrevOff ;
|
||||
// prima di inserirlo controllo che il tratto non torni indietro
|
||||
if ( vFlag[nCurr] != ANG_STR || dProj > - 0.966) {
|
||||
if ( ( vFlag[nCurr] != ANG_STR || dProj > - 0.966) && Dist( ptPrev, ptP) > 2 * EPS_SMALL) {
|
||||
// aggiungo tratto
|
||||
ICurveLine* pCL = CreateBasicCurveLine() ;
|
||||
pCL->Set( ptPrev, ptP) ;
|
||||
@@ -446,7 +446,7 @@ IsPointInsideCylinder( const Point3d& ptTest, const Cyl& offCyl, double dLinTol)
|
||||
bool
|
||||
CalcAdjustConcavePartsInPath( const ICurveComposite* pCrv, const OFFSETSEGVEC& vOffsetCrvs, double dRad, EDITCRVINFOVEC& vEditInfo)
|
||||
{
|
||||
const double dLinTol = 10 * EPS_SMALL ;
|
||||
const double dLinTol = 0 * EPS_SMALL ;
|
||||
for ( int i = 0 ; i < ssize( vOffsetCrvs) ; ++i) {
|
||||
int nFlag = vOffsetCrvs[i].nFlag ;
|
||||
// considero tutt le zone concave
|
||||
|
||||
Reference in New Issue
Block a user