Include :

- aggiornamenti e aggiunta EGkOffsetCurve.h.
This commit is contained in:
Dario Sassi
2015-09-25 13:18:58 +00:00
parent aabf9c7e95
commit fc87d37691
3 changed files with 39 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
//----------------------------------------------------------------------------
// EgalTech 2015-2015
//----------------------------------------------------------------------------
// File : EGkOffsetCurve.h Data : 23.09.15 Versione : 1.6i8
// Contenuto : Dichiarazione classe per offset di ICurve.
//
//
// Modifiche : 23.09.15 DS Creazione modulo.
//
//
//----------------------------------------------------------------------------
#pragma once
#include "/EgtDev/Include/EGkCurve.h"
//----------------------- Macro per import/export ----------------------------
#undef EGK_EXPORT
#if defined( I_AM_EGK) // da definirsi solo nella DLL
#define EGK_EXPORT __declspec( dllexport)
#else
#define EGK_EXPORT __declspec( dllimport)
#endif
//----------------------------------------------------------------------------
class OffsetCurve
{
public :
EGK_EXPORT ~OffsetCurve( void) ;
public :
EGK_EXPORT bool Make( const ICurve* pCrv, double dDist, int nType) ;
EGK_EXPORT ICurve* GetCurve( void) ;
private :
ICURVEPLIST m_CrvLst ;
} ;
+1
View File
@@ -340,6 +340,7 @@ EIN_EXPORT int __stdcall EgtSplitText( int nId, int* pnCount) ;
// GeomDb Curve Modify
EIN_EXPORT BOOL __stdcall EgtInvertCurve( int nId) ;
EIN_EXPORT BOOL __stdcall EgtOffsetCurve( int nId, double dDist, int nType) ;
EIN_EXPORT int __stdcall EgtOffsetCurveAdv( int nId, double dDist, int nType, int* pnCount) ;
EIN_EXPORT BOOL __stdcall EgtApproxCurve( int nId, int nApprType, double dLinTol) ;
EIN_EXPORT BOOL __stdcall EgtChangeClosedCurveStartPoint( int nId, const double ptP[3], int nRefType) ;
EIN_EXPORT BOOL __stdcall EgtModifyCurveStartPoint( int nId, const double ptP[3], int nRefType) ;
+1
View File
@@ -341,6 +341,7 @@ EXE_EXPORT int ExeSplitText( int nId, int* pnCount) ;
// GeomDb Curve Modify
EXE_EXPORT bool ExeInvertCurve( const INTVECTOR& vIds) ;
EXE_EXPORT bool ExeOffsetCurve( int nId, double dDist, int nType) ;
EXE_EXPORT int ExeOffsetCurveAdv( int nId, double dDist, int nType, int* pnCount) ;
EXE_EXPORT bool ExeApproxCurve( int nId, int nApprType, double dLinTol) ;
EXE_EXPORT bool ExeProjectCurveOnPlane( int nId, const Point3d& ptOn, const Vector3d& vtN, int nRefType) ;
EXE_EXPORT bool ExeChangeClosedCurveStartPoint( int nId, const Point3d& ptP, int nRefType) ;