From 092b81e08aea94a0c81140788b6392621caf3e4e Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Tue, 9 May 2017 10:58:17 +0000 Subject: [PATCH] EgtInterface 1.8e2 : - aggiunte interfacce per EgtMovePartInRawPart e EgtRotatePartInRawPart. --- API_MachMgr.cpp | 14 ++++++++++++++ EgtInterface.rc | Bin 11716 -> 11716 bytes 2 files changed, 14 insertions(+) diff --git a/API_MachMgr.cpp b/API_MachMgr.cpp index 92656c3..662b4d0 100644 --- a/API_MachMgr.cpp +++ b/API_MachMgr.cpp @@ -378,6 +378,20 @@ __stdcall EgtRemovePartFromRawPart( int nPartId) return ( ExeRemovePartFromRawPart( nPartId) ? TRUE : FALSE) ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtMovePartInRawPart( int nPartId, const double vtMove[3]) +{ + return ( ExeTranslatePartInRawPart( nPartId, vtMove) ? TRUE : FALSE) ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtRotatePartInRawPart( int nRawId, const double vtAx[3], double dAngDeg) +{ + return ( ExeRotatePartInRawPart( nRawId, vtAx, dAngDeg) ? TRUE : FALSE) ; +} + //----------------------------------------------------------------------------- // Table & Fixtures //----------------------------------------------------------------------------- diff --git a/EgtInterface.rc b/EgtInterface.rc index 4c4f8bd2f29064c3fd3bb61b144817e711799266..268f2081534dafb88b6891977a1f8c5de9166449 100644 GIT binary patch delta 92 zcmX>SeI$CrFE&P_%^&$rGEF|hS;uHJ`Jtfh<^rw;7O^IY)%z7H$Asy&%j0 delta 92 zcmX>SeI$CrFE&QQ%^&$rGEF|hS;uHN`Jtfh<^rw;7O^IY)%z7H$ArO(4Vo