From 9a89e851d22ae6381f7f64bede77a6e6fda9fa49 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Mon, 7 Apr 2025 11:49:36 +0200 Subject: [PATCH 1/2] Include : - aggiunto l'operatore == alla struttura SelData (per consentire confronti con funzioni STL direttamente sui contenitori). --- EGkSelection.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EGkSelection.h b/EGkSelection.h index 7859466..a537518 100644 --- a/EGkSelection.h +++ b/EGkSelection.h @@ -36,6 +36,8 @@ struct SelData { : nId( nI), nSub( SEL_SUB_ALL) {} SelData( int nI, int nS) : nId( nI), nSub( nS) {} + bool operator == ( const SelData& other) const + { return ( nId == other.nId && nSub == other.nSub) ; } } ; //---------------------------------------------------------------------------- From 33490696744fb6867c946f5f770feefeb8947b1b Mon Sep 17 00:00:00 2001 From: SaraP Date: Tue, 8 Apr 2025 08:35:14 +0200 Subject: [PATCH 2/2] Include : - aggiunto prototipo. --- EGkOffsetCurve.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/EGkOffsetCurve.h b/EGkOffsetCurve.h index 26a6cab..aac1efd 100644 --- a/EGkOffsetCurve.h +++ b/EGkOffsetCurve.h @@ -37,10 +37,13 @@ class OffsetCurve EGK_EXPORT ICurve* GetCurve( void) ; EGK_EXPORT ICurve* GetLongerCurve( void) ; EGK_EXPORT ICurve* GetShorterCurve( void) ; + EGK_EXPORT bool GetPointOffset( Point3d& pt, Vector3d& vt) ; EGK_EXPORT double GetLinTol( void) const { return m_dLinTol ; } EGK_EXPORT void SetLinTol( double dTol) { m_dLinTol = dTol ; } private : ICURVEPLIST m_CrvLst ; + Point3d m_pt = P_INVALID ; + Vector3d m_vt = V_INVALID ; double m_dLinTol ; } ; \ No newline at end of file