From 2ea7f4c1a1fe73c355b3386220e45ff7f05d046f Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Mon, 5 Apr 2021 16:26:41 +0000 Subject: [PATCH] Include : - aggiornamento prototipi. --- EGkCurveComposite.h | 1 + EInAPI.h | 3 +++ EXeExecutor.h | 1 + 3 files changed, 5 insertions(+) diff --git a/EGkCurveComposite.h b/EGkCurveComposite.h index 524f530..7b3eab2 100644 --- a/EGkCurveComposite.h +++ b/EGkCurveComposite.h @@ -48,6 +48,7 @@ class __declspec( novtable) ICurveComposite : public ICurve virtual bool AddJoint( double dU) = 0 ; virtual bool ModifyJoint( int nU, const Point3d& ptNewJoint) = 0 ; virtual bool RemoveJoint( int nU) = 0 ; + virtual bool MoveCurve( int nCrv, const Vector3d& vtMove) = 0 ; virtual bool ModifyCurveToArc( int nCrv, const Point3d& ptMid) = 0 ; virtual bool ModifyCurveToLine( int nCrv) = 0 ; virtual bool ArcsToBezierCurves( void) = 0 ; diff --git a/EInAPI.h b/EInAPI.h index 2cdff53..43eeeb1 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -484,6 +484,9 @@ EIN_EXPORT BOOL __stdcall EgtAddCurveCompoJoint( int nId, double dU) ; EIN_EXPORT BOOL __stdcall EgtModifyCurveCompoJoint( int nId, int nU, const double ptP[3], int nRefType) ; EIN_EXPORT int __stdcall EgtGetCurveCompoJointCount( int nId) ; EIN_EXPORT BOOL __stdcall EgtRemoveCurveCompoJoint( int nId, int nU) ; +EIN_EXPORT BOOL __stdcall EgtMoveCurveCompoCurve( int nId, int nCrv, const double vtMove[3], int nRefType) ; +EIN_EXPORT BOOL __stdcall EgtModifyCurveCompoCurveToArc( int nId, int nCrv, const double ptP[3], int nRefType) ; +EIN_EXPORT BOOL __stdcall EgtModifyCurveCompoCurveToLine( int nId, int nCrv) ; EIN_EXPORT int __stdcall EgtExplodeCurveCompo( int nId, int* pnCount) ; EIN_EXPORT BOOL __stdcall EgtMergeCurvesInCurveCompo( int nId, double dLinTol, BOOL bStartEnd) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index d73e59b..b92b411 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -523,6 +523,7 @@ EXE_EXPORT bool ExeAddCurveCompoJoint( int nId, double dU) ; EXE_EXPORT bool ExeModifyCurveCompoJoint( int nId, int nU, const Point3d& ptP, int nRefType) ; EXE_EXPORT int ExeGetCurveCompoJointCount( int nId) ; EXE_EXPORT bool ExeRemoveCurveCompoJoint( int nId, int nU) ; +EXE_EXPORT bool ExeMoveCurveCompoCurve( int nId, int nCrv, const Vector3d& vtMove, int nRefType) ; EXE_EXPORT bool ExeModifyCurveCompoCurveToArc( int nId, int nCrv, const Point3d& ptMid, int nRefType) ; EXE_EXPORT bool ExeModifyCurveCompoCurveToLine( int nId, int nCrv) ; EXE_EXPORT int ExeExplodeCurveCompo( int nId, int* pnCount) ;