From b46df7b95e2ede436f56a84173e352bfd95abe23 Mon Sep 17 00:00:00 2001 From: DarioS Date: Wed, 17 Aug 2022 19:22:56 +0200 Subject: [PATCH] Include : - aggiornamento prototipi. --- EGkBBox3d.h | 8 ++++++-- EGkSurfTriMesh.h | 5 +++-- EXeConst.h | 5 +++-- EgtKeyCodes.h | 2 +- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/EGkBBox3d.h b/EGkBBox3d.h index ff53b54..48ddfaf 100644 --- a/EGkBBox3d.h +++ b/EGkBBox3d.h @@ -1,12 +1,13 @@ //---------------------------------------------------------------------------- -// EgalTech 2013-2014 +// EgalTech 2013-2022 //---------------------------------------------------------------------------- -// File : EGkBBox3d.h Data : 14.01.14 Versione : 1.5a4 +// File : EGkBBox3d.h Data : 17.08.22 Versione : 2.4h1 // Contenuto : Dichiarazione della classe axis aligned bounding box BBox3d. // // // // Modifiche : 14.01.13 DS Creazione modulo. +// 17.08.22 DS Aggiunte GetDimX, GetDimY, GetDimZ. // // //---------------------------------------------------------------------------- @@ -72,6 +73,9 @@ class EGK_EXPORT BBox3d { return m_ptMax ; } bool GetMinMax( Point3d& ptMin, Point3d& ptMax) const ; bool GetMinDim( Point3d& ptMin, double& dDimX, double& dDimY, double& dDimZ) const ; + double GetDimX( void) const ; + double GetDimY( void) const ; + double GetDimZ( void) const ; bool GetCenterExtent( Point3d& ptCenter, Vector3d& vtExtent) const ; bool GetCenter( Point3d& ptCenter) const ; bool GetRadius( double& dRad) const ; diff --git a/EGkSurfTriMesh.h b/EGkSurfTriMesh.h index c02cbe6..c1e2501 100644 --- a/EGkSurfTriMesh.h +++ b/EGkSurfTriMesh.h @@ -32,8 +32,9 @@ const double MAX_EDGE_LEN_STD = 5000.0 ; class __declspec( novtable) ISurfTriMesh : public ISurf { public : - enum RuledType { RLT_ISOPAR = 0, // con parametrizzazione simile tra le due curve - RLT_MINDIST = 1} ; // con distanza minima tra le due curve + enum RuledType { RLT_ISOPAR = 0, // con parametrizzazione simile tra le due curve + RLT_MINDIST = 1, // con distanza minima tra le due curve + RLT_ISOPAR_SMOOTH = 2} ; // con parametrizzazione simile tra le due curve e lisciatura delle parti torte public : // IGeoObj ISurfTriMesh* Clone( void) const override = 0 ; public : diff --git a/EXeConst.h b/EXeConst.h index 782bb8c..2c2bd81 100644 --- a/EXeConst.h +++ b/EXeConst.h @@ -74,8 +74,9 @@ enum SLiType { SLT_NONE = 0, SLT_TOUCH = 5} ; //----------------- Costanti tipo di costruzione di superficie rigata ---------- -enum RuledType{ RUL_TYPE_ISOPAR = 0, // come ISurfTrimesh::RLT_ISOPAR - RUL_TYPE_MINDIST = 1} ; // come ISurfTrimesh::RLT_MINDIST +enum RuledType{ RUL_TYPE_ISOPAR = 0, // come ISurfTrimesh::RLT_ISOPAR + RUL_TYPE_MINDIST = 1, // come ISurfTrimesh::RLT_MINDIST + RUL_TYPE_ISOPAR_SMOOTH = 3} ; // come ISurfTrimesh::RLT_ISOPAR_SMOOTH enum CrvRegClass { CRC_NULL = 0, CRC_IN = 1, diff --git a/EgtKeyCodes.h b/EgtKeyCodes.h index f9285f7..9168175 100644 --- a/EgtKeyCodes.h +++ b/EgtKeyCodes.h @@ -23,7 +23,7 @@ //---------------------------------------------------------------------------- const int KEY_BASELIB_PROD = 207 ; -const int KEY_BASELIB_VER = 2407 ; +const int KEY_BASELIB_VER = 2408 ; const int KEY_BASELIB_LEV = 1 ; //----------------------------------------------------------------------------