From 415493927eb9d7b9e87edc875d66405cd4fb5487 Mon Sep 17 00:00:00 2001 From: Daniele Bariletti Date: Thu, 29 Aug 2024 08:52:51 +0200 Subject: [PATCH] Include : - integrazione del codice per calcolo di una region. --- EGkSfrCreate.h | 2 +- EGkSurfTriMesh.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/EGkSfrCreate.h b/EGkSfrCreate.h index 6c2ae75..fea6cd4 100644 --- a/EGkSfrCreate.h +++ b/EGkSfrCreate.h @@ -35,7 +35,7 @@ EGK_EXPORT ISurfFlatRegion* GetSurfFlatRegionFromFatCurve( ICurve* pCrv, double EGK_EXPORT ISurfFlatRegion* GetSurfFlatRegionFromTriangle( const Triangle3d& Tria) ; EGK_EXPORT ISurfFlatRegion* GetSurfFlatRegionFromPolyLine( const PolyLine& ContourPolyLine) ; EGK_EXPORT ISurfFlatRegion* GetSurfFlatRegionFromPolyLineVector( const POLYLINEVECTOR& vContoursPolyLineVec) ; -EGK_EXPORT bool CalcRegionPolyLines( const CICURVEPVECTOR& vpCurve, double dLinTol, POLYLINEVECTOR& vPL, Vector3d& vtN) ; +EGK_EXPORT bool CalcRegionPolyLines( const POLYLINEVECTOR& vPL, POLYLINEVECTOR& vPLOrd, Vector3d& vtN, INTMATRIX& vnPLIndMat) ; //---------------------------------------------------------------------------- diff --git a/EGkSurfTriMesh.h b/EGkSurfTriMesh.h index e1491f8..8a9da18 100644 --- a/EGkSurfTriMesh.h +++ b/EGkSurfTriMesh.h @@ -50,7 +50,7 @@ class __declspec( novtable) ISurfTriMesh : public ISurf virtual bool RemoveTriangle( int nId) = 0 ; virtual bool AdjustTopology( void) = 0 ; virtual bool CreateByFlatContour( const PolyLine& PL) = 0 ; - virtual bool CreateByRegion( const POLYLINEVECTOR& vPL) = 0 ; + virtual bool CreateByRegion( const POLYLINEVECTOR& vPL, const INTMATRIX& vnPLIndMat) = 0 ; virtual bool CreateByExtrusion( const PolyLine& PL, const Vector3d& vtExtr) = 0 ; virtual bool CreateByPointCurve( const Point3d& ptP, const PolyLine& PL) = 0 ; virtual bool CreateByTwoCurves( const PolyLine& PL1, const PolyLine& PL2, int nRuledType) = 0 ;