diff --git a/EGkIntersCurves.h b/EGkIntersCurves.h index ff55730..aed9ecd 100644 --- a/EGkIntersCurves.h +++ b/EGkIntersCurves.h @@ -124,7 +124,7 @@ class IntersCurveCurve //! Restituisce il punto di intersezione pił vicino al punto passato EGK_EXPORT bool GetIntersPointNearTo( int nCrv, const Point3d& ptNear, Point3d& ptI) ; //! Restituisce la classificazione di una curva rispetto all'altra ( nCrv=0 -> CurvaA, nCrv=1 -> CurvaB) - EGK_EXPORT bool GetCurveClassification( int nCrv, CRVCVECTOR& ccClass) ; + EGK_EXPORT bool GetCurveClassification( int nCrv, double dLenMin, CRVCVECTOR& ccClass) ; //! Restituisce la classificazione di curve chiuse secondo le regole delle regioni EGK_EXPORT int GetRegionCurveClassification( void) ; @@ -142,7 +142,7 @@ class IntersCurveCurve void CrvCompoCrvCompoCalculate( const ICurve& CurveA, const ICurve& CurveB) ; bool AdjustIntersParams( bool bAdjCrvA, bool bAdjCrvB) ; bool SwapInfoAB( ICCIVECTOR& Info, int IndCrvOrd) ; - bool CalcCurveClassification( const ICurve* pCurve, const ICCIVECTOR& Info, CRVCVECTOR& ccClass) ; + bool CalcCurveClassification( const ICurve* pCurve, const ICCIVECTOR& Info, double dLenMin, CRVCVECTOR& ccClass) ; bool CalcCurveInOrOut( const ICurve* pCurveA, const ICurve* pCurveB, CRVCVECTOR& ccClass) ; bool GetCurveOutClass( const ICurve* pCurve, int& nClass) ; diff --git a/EGkSurfFlatRegion.h b/EGkSurfFlatRegion.h index 269bd0a..55e14a0 100644 --- a/EGkSurfFlatRegion.h +++ b/EGkSurfFlatRegion.h @@ -45,7 +45,7 @@ class __declspec( novtable) ISurfFlatRegion : public ISurf virtual const ISurfTriMesh* GetAuxSurf( void) const = 0 ; virtual ISurfFlatRegion* CloneChunk( int nChunk) const = 0 ; virtual bool GetChunkCentroid( int nChunk, Point3d& ptCen) const ; - virtual bool GetCurveClassification( const ICurve& Crv, CRVCVECTOR& ccClass) const = 0 ; + virtual bool GetCurveClassification( const ICurve& Crv, double dLenMin, CRVCVECTOR& ccClass) const = 0 ; virtual int GetChunkSimpleClassification( int nChunk, const ISurfFlatRegion& Other, int nOthChunk) const ; // compare only outsides } ;