From 1d672f35184ed91f0052c94097659bcb380f826f Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 15 May 2019 19:05:12 +0000 Subject: [PATCH] Include : - aggiornamento prototipi. --- EGkPolyLine.h | 1 + EGkStmFromCurves.h | 2 +- EInAPI.h | 2 +- EXeExecutor.h | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/EGkPolyLine.h b/EGkPolyLine.h index 5a398e7..72a2afb 100644 --- a/EGkPolyLine.h +++ b/EGkPolyLine.h @@ -100,6 +100,7 @@ class PolyLine EGK_EXPORT PNTULIST& GetUPointList( void) { return m_lUPoints ; } EGK_EXPORT bool IsFlat( int& nRank, Point3d& ptCen, Vector3d& vtDir, double dToler = EPS_SMALL) const ; + EGK_EXPORT bool IsFlat( Plane3d& plPlane, double dToler = EPS_SMALL) const ; EGK_EXPORT bool IsClosedAndFlat( Plane3d& plPlane, double& dArea, double dToler = EPS_SMALL) const ; EGK_EXPORT bool GetApproxLength( double& dLen) const ; EGK_EXPORT bool GetLength( double& dLen) const ; diff --git a/EGkStmFromCurves.h b/EGkStmFromCurves.h index 6a6e3e2..c149af7 100644 --- a/EGkStmFromCurves.h +++ b/EGkStmFromCurves.h @@ -34,7 +34,7 @@ EGK_EXPORT ISurfTriMesh* GetSurfTriMeshByRegionExtrusion( const CICURVEPVECTOR& EGK_EXPORT ISurfTriMesh* GetSurfTriMeshByRevolve( const ICurve* pCurve, const Point3d& ptAx, const Vector3d& vtAx, bool bCapEnds, double dLinTol = 10 * EPS_SMALL) ; EGK_EXPORT ISurfTriMesh* GetSurfTriMeshByScrewing( const ICurve* pCurve, const Point3d& ptAx, const Vector3d& vtAx, - double dAngRotDeg, double dMove, double dLinTol = 10 * EPS_SMALL) ; + double dAngRotDeg, double dMove, bool bCapEnds, double dLinTol = 10 * EPS_SMALL) ; EGK_EXPORT ISurfTriMesh* GetSurfTriMeshSwept( const ICurve* pSect, const ICurve* pGuide, bool bCapEnds, double dLinTol = 10 * EPS_SMALL) ; EGK_EXPORT ISurfTriMesh* GetSurfTriMeshRuled( const Point3d& ptP, const ICurve* pCurve, double dLinTol = 10 * EPS_SMALL) ; EGK_EXPORT ISurfTriMesh* GetSurfTriMeshRuled( const ICurve* pCurve1, const ICurve* pCurve2, int nType, double dLinTol = 10 * EPS_SMALL) ; diff --git a/EInAPI.h b/EInAPI.h index 1126421..631179e 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -241,7 +241,7 @@ EIN_EXPORT int __stdcall EgtCreateSurfTmByRevolve( int nParentId, int nCrvId, BOOL bCapEnds, double dLinTol, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateSurfTmByScrewing( int nParentId, int nCrvId, const double ptAx[3], const double vtAx[3], - double dAngRotDeg, double dMove, double dLinTol, int nRefType) ; + double dAngRotDeg, double dMove, BOOL bCapEnds, double dLinTol, int nRefType) ; EIN_EXPORT int __stdcall EgtCreateSurfTmSwept( int nParentId, int nSectId, int nGuideId, BOOL bCapEnds, double dLinTol) ; EIN_EXPORT int __stdcall EgtCreateSurfTmRuled( int nParentId, int nPntOrCrvId1, int nCrvId2, int nType, double dLinTol) ; EIN_EXPORT int __stdcall EgtCreateSurfTmByTriangles( int nParentId, int nNumId, const int nIds[], BOOL bErase) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index eb60176..0cece96 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -270,7 +270,7 @@ EXE_EXPORT int ExeCreateSurfTmByRevolve( int nParentId, int nCrvId, bool bCapEnds, double dLinTol, int nRefType) ; EXE_EXPORT int ExeCreateSurfTmByScrewing( int nParentId, int nCrvId, const Point3d& ptAx, const Vector3d& vtAx, - double dAngRotDeg, double dMove, double dLinTol, int nRefType) ; + double dAngRotDeg, double dMove, bool bCapEnds, double dLinTol, int nRefType) ; EXE_EXPORT int ExeCreateSurfTmSwept( int nParentId, int nSectId, int nGuideId, bool bCapEnds, double dLinTol) ; EXE_EXPORT int ExeCreateSurfTmRuled( int nParentId, int nPtOrCrvId1, int nPtOrCrvId2, int nType, double dLinTol) ; EXE_EXPORT int ExeCreateSurfTmByTriangles( int nParentId, const INTVECTOR& vIds, bool bErase) ;