diff --git a/EGkExtText.h b/EGkExtText.h index 1ca517b..81c27fa 100644 --- a/EGkExtText.h +++ b/EGkExtText.h @@ -16,6 +16,8 @@ #include "/EgtDev/Include/EGkGeoObj.h" #include "/EgtDev/Include/EGkCurve.h" +class ISurfTriMesh ; + //----------------------------------------------------------------------------- class __declspec( novtable) IExtText : public IGeoObj { @@ -49,6 +51,7 @@ class __declspec( novtable) IExtText : public IGeoObj virtual bool SplitOnLineBreak( std::vector& vText) const = 0 ; virtual bool ApproxWithLines( double dLinTol, double dAngTolDeg, POLYLINELIST& lstPL) const = 0 ; virtual bool ApproxWithArcs( double dLinTol, double dAngTolDeg, POLYARCLIST& lstPA) const = 0 ; + virtual const ISurfTriMesh* GetAuxSurf( void) const = 0 ; virtual bool Flip( void) = 0 ; virtual bool Mir( bool bOnLen) = 0 ; virtual bool ModifyText( const std::string& sText) = 0 ; diff --git a/EGkSurfFlatRegion.h b/EGkSurfFlatRegion.h index 3c823ff..269bd0a 100644 --- a/EGkSurfFlatRegion.h +++ b/EGkSurfFlatRegion.h @@ -15,6 +15,7 @@ #include "/EgtDev/Include/EGkSurf.h" #include "/EgtDev/Include/EGkIntersCurves.h" +#include "/EgtDev/Include/EgtPointerOwner.h" class ISurfTriMesh ; @@ -64,6 +65,13 @@ inline ISurfFlatRegion* GetSurfFlatRegion( IGeoObj* pGObj) return nullptr ; return (static_cast(pGObj)) ; } +//---------------------------------------------------------------------------- +// Raccolte di puntatori a ISurfFlatRegion +typedef std::vector CISURFFRPVECTOR ; // vettore di puntatori a const ISurfFlatRegion +typedef std::vector ISURFFRPVECTOR ; // vettore di puntatori a ISurfFlatRegion +typedef std::list ISURFFRPLIST ; // lista di puntatori a ISurfFlatRegion +typedef std::vector> ISURFFRPOVECTOR ; // vettore di puntatori esclusivi a ISurfFlatRegion + //----------------------------------------------------------------------------- // Costanti per classificazione di regioni const int REGC_NULL = 0 ; //!< Non classificabili