diff --git a/EGkTrimming.h b/EGkTrimming.h index 28ce8f9..8673f67 100644 --- a/EGkTrimming.h +++ b/EGkTrimming.h @@ -30,6 +30,9 @@ typedef std::vector ISURFPOMATRIX ; typedef std::vector ICRVCOMPOPOMATRIX ; +enum RegolarizeType { STD = 0, // standard, con modifiche dirette ai punti di controllo + RMF = 1}; // ricostruendo le curve usando il rotation minimizing frame + //----------------------------------------------------------------------------- EGK_EXPORT bool GetTrimmingStmAdjTria( const ISurfTriMesh* pStm, int nStartTria, const Point3d& ptStartTria, double dAngTol, double dSize, double dSizeTol, ISurfTriMesh* pStmAdjTria) ; @@ -57,4 +60,4 @@ EGK_EXPORT bool GetTrimmingHoleBorders( const CISURFPVECTOR& vpSurf, const Point double dSurfAngTol, double dEdgeLinTol, double dEdgeAngTol, double dEdgeThick, ICRVCOMPOPOVECTOR& vHoleBorders) ; EGK_EXPORT ISurfBezier* RegolarizeBordersLocally( const ISurfBezier* pSurfBz, const BIPOINT& bpIsoStart, - const BIPOINT& bpIsoEnd, double dTol) ; + const BIPOINT& bpIsoEnd, double dTol, int nType = RegolarizeType::STD) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 89b157f..a014ea8 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -1537,4 +1537,4 @@ EXE_EXPORT bool ExeTrimmingGetSurfBzSyncPoints( int nParentId, int nEdge1Id, int EXE_EXPORT bool ExeTrimmingGetHoleBorder( int nParentId, const INTVECTOR& vSurfIds, const INTVECTOR& vOtherSurfIds, double dSurfLinTol, double dSurfAngTol, double dEdgeLinTol, double dEdgeAngTol, double dEdgeThick, int& nFirstId, int& nCount) ; -EXE_EXPORT int ExeRegolarizeSurfaceLocally( int nParentId, int nSurfId, int nSyncStartId, int nSyncEndId, double dLinTol) ; +EXE_EXPORT int ExeRegolarizeSurfaceLocally( int nParentId, int nSurfId, int nSyncStartId, int nSyncEndId, double dLinTol, int nType) ;