diff --git a/EGkDistPointSurfTm.h b/EGkDistPointSurfTm.h index 4adebe2..072a497 100644 --- a/EGkDistPointSurfTm.h +++ b/EGkDistPointSurfTm.h @@ -11,6 +11,8 @@ // //---------------------------------------------------------------------------- +#pragma once + #include "/EgtDev/Include/EGkSurfTriMesh.h" //----------------------- Macro per import/export ---------------------------- diff --git a/EGkPolyArc.h b/EGkPolyArc.h index 7135971..6565236 100644 --- a/EGkPolyArc.h +++ b/EGkPolyArc.h @@ -84,6 +84,7 @@ class PolyArc { return GetNextUArc( nullptr, &ptIni, nullptr, &ptFin, &dBulge) ; } EGK_EXPORT bool IsFlat( int& nRank, Point3d& ptCen, Vector3d& vtDir, double dToler = EPS_SMALL) const ; EGK_EXPORT bool Invert( bool bInvertU = true) ; + EGK_EXPORT bool RemoveAlignedPoints( double dToler = EPS_SMALL) ; private : struct UPointB diff --git a/EInAPI.h b/EInAPI.h index 7837acc..e55c6a7 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -521,7 +521,7 @@ EIN_EXPORT BOOL __stdcall EgtLineSurfTmInters( const double ptP[3], const double int*& vFlagInters, double*& vParInters, int* pnCount) ; // Nesting -EIN_EXPORT BOOL __stdcall EgtCreateFlatParts( int nType) ; +EIN_EXPORT BOOL __stdcall EgtCreateFlatParts( int nType, double dToler) ; EIN_EXPORT BOOL __stdcall EgtAdjustFlatPartLayer( int nLayerId) ; EIN_EXPORT BOOL __stdcall EgtCalcFlatPartUpRegion( int nPartId, BOOL bCalc) ; EIN_EXPORT BOOL __stdcall EgtCalcFlatPartDownRegion( int nPartId, double dH) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index b1432ae..cc33e8f 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -600,7 +600,7 @@ EXE_EXPORT int ExePlaneVolZmapInters( const Point3d& ptOn, const Vector3d& vtN, // Nesting // CreateFlatParts -EXE_EXPORT bool ExeCreateFlatParts( int nType) ; +EXE_EXPORT bool ExeCreateFlatParts( int nType, double dToler) ; EXE_EXPORT bool ExeAdjustFlatPartLayer( int nLayerId) ; EXE_EXPORT bool ExeCalcFlatPartUpRegion( int nPartId, bool bCalc) ; EXE_EXPORT bool ExeCalcFlatPartDownRegion( int nPartId, double dH) ;