From 10309c05287be601201832247f105c6cd4cacc45 Mon Sep 17 00:00:00 2001 From: SaraP Date: Tue, 29 Jun 2021 15:59:16 +0200 Subject: [PATCH 1/2] Include : - aggiornamento PolyLine. --- EGkPolyLine.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/EGkPolyLine.h b/EGkPolyLine.h index 72a2afb..5dc7b02 100644 --- a/EGkPolyLine.h +++ b/EGkPolyLine.h @@ -132,3 +132,30 @@ class PolyLine // Raccolte di PolyLine typedef std::vector POLYLINEVECTOR ; // vettore di PolyLine typedef std::list POLYLINELIST ; // lista di PolyLine + +//---------------------------------------------------------------------------- +/*static*/ bool +ChangePolyLineStart( const Point3d& ptNewStart, PolyLine& Loop, double dTol = EPS_SMALL) ; +// nSegNum 0-based +/*static*/ bool +PointPositionOnPolyLine( const Point3d& ptPoint, /*const*/ PolyLine& Loop, int& nSegNum, double& dParOnSeg, double dTol = EPS_SMALL) ; +/*static*/ bool +IsPointInsidePolyLine( const Point3d& ptP, const PolyLine& plPoly) ; +/*static*/ bool +DistPointPolyLine( const Point3d& ptP, const PolyLine& plPoly, double& dPointPolyLineDist) ; +/*static*/ bool +SplitPolyLineAtPoint( const Point3d& ptPoint, /*const*/ PolyLine& Loop, PolyLine& Loop1, PolyLine& Loop2, double dTol = EPS_SMALL) ; +/*static*/ bool +AddPolyLineToPolyLine( PolyLine& Poly, PolyLine& PolyToAdd, double dTol = EPS_SMALL) ; + +//---------------------------------------------------------------------------- +struct PositionOnPolyLine { + int nIndexInVec ; + int nSegNum ; + double dParOnSeg ; + PositionOnPolyLine( int nIndex, int nSeg, double dPar) { + nIndexInVec = nIndex ; + nSegNum = nSeg ; + dParOnSeg = dPar ; + } +} ; From 43cd4214d3b8f50811a838e66dd14e523b8cf161 Mon Sep 17 00:00:00 2001 From: Emmanuele Sassi Date: Mon, 5 Jul 2021 08:48:14 +0200 Subject: [PATCH 2/2] Revert "Include :" This reverts commit 828a8017cbf15500b2865bf602245facab47b389. --- EXeExecutor.h | 1 - 1 file changed, 1 deletion(-) diff --git a/EXeExecutor.h b/EXeExecutor.h index 9a98ca9..0cfcd6a 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -49,7 +49,6 @@ EXE_EXPORT bool ExeGetIniFile( std::string& sIniFile) ; EXE_EXPORT bool ExeSetCommandLogger( const std::string& sLogFile) ; EXE_EXPORT bool ExeEnableCommandLogger( void) ; EXE_EXPORT bool ExeDisableCommandLogger( void) ; -EXE_EXPORT bool ExeGetExecutableVersion( std::string& sVer) ; EXE_EXPORT bool ExeGetVersionInfo( std::string& sVer, const char* szNewLine) ; EXE_EXPORT bool ExeGetKeyInfo( std::string& sKey) ; EXE_EXPORT bool ExeSetLockType( int nType) ;