EgtGeomKernel 2.1g3 :

- in SurfTriMesh corretto costruttore di copia e funzione CopyFrom
- in Polygon3d aggiunte funzioni Offset e Invert.
This commit is contained in:
Dario Sassi
2019-07-23 13:53:36 +00:00
parent ed47313bf2
commit 7dd66ea22c
4 changed files with 21 additions and 9 deletions
+10
View File
@@ -15,6 +15,8 @@
#include "stdafx.h"
#include "/EgtDev/Include/EgkPolygon3d.h"
using namespace std ;
//----------------------------------------------------------------------------
bool
Polygon3d::Clear( void)
@@ -313,3 +315,11 @@ Polygon3d::LocToLoc( const Frame3d& frOri, const Frame3d& frDest)
ptP.LocToLoc( frOri, frDest) ;
return true ;
}
//----------------------------------------------------------------------------
void
Polygon3d::Invert( void)
{
reverse( m_vVert.begin(), m_vVert.end()) ;
m_Plane.Invert() ;
}