Include :
- aggiunti alcuni metodi a Polygon3d.
This commit is contained in:
+8
-4
@@ -1,13 +1,13 @@
|
||||
//----------------------------------------------------------------------------
|
||||
// EgalTech 2015-2015
|
||||
// EgalTech 2015-2019
|
||||
//----------------------------------------------------------------------------
|
||||
// File : Polygon3d.h Data : 30.08.15 Versione : 1.6h5
|
||||
// File : Polygon3d.h Data : 19.06.19 Versione : 2.1f2
|
||||
// Contenuto : Dichiarazione della classe Polygon3d (poligono nello spazio).
|
||||
//
|
||||
//
|
||||
//
|
||||
// Modifiche : 30.08.15 DS Creazione modulo.
|
||||
//
|
||||
// 19.06.19 DS Aggiunta GetVertices.
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
@@ -39,10 +39,14 @@ class Polygon3d
|
||||
EGK_EXPORT bool Trim( const Polygon3d& plyOther, bool bInVsOut, bool bOnEq) ;
|
||||
EGK_EXPORT bool IsValid( void) const
|
||||
{ return ! m_Plane.GetVersN().IsSmall() ; }
|
||||
EGK_EXPORT Vector3d GetVersN( void)
|
||||
EGK_EXPORT const Plane3d& GetPlane( void) const
|
||||
{ return m_Plane ; }
|
||||
EGK_EXPORT const Vector3d& GetVersN( void) const
|
||||
{ return m_Plane.GetVersN() ; }
|
||||
EGK_EXPORT int GetSideCount( void) const
|
||||
{ return ( IsValid() ? int( m_vVert.size()) : 0) ; }
|
||||
EGK_EXPORT const PNTVECTOR& GetVertices( void) const
|
||||
{ return m_vVert ; }
|
||||
EGK_EXPORT PolyLine GetPolyLine( void) const ;
|
||||
|
||||
public :
|
||||
|
||||
Reference in New Issue
Block a user