Include :

- aggiunta modalità di creazione di una polyline.
This commit is contained in:
Daniele Bariletti
2025-10-24 11:53:52 +02:00
parent b1a801ed60
commit 2a91cddd37
+5
View File
@@ -122,6 +122,11 @@ class PolyLine
m_nTempProp[nPropInd] = nProp ; }
EGK_EXPORT int GetTempProp( int nPropInd = 0) const
{ return (( nPropInd >= 0 && nPropInd < 2) ? m_nTempProp[nPropInd] : 0) ; }
EGK_EXPORT bool FromPointVector( const PNTVECTOR& vPnt)
{ Clear() ;
for( int i = 0 ; i < int( vPnt.size()) ; ++i)
{ AddUPoint( i, vPnt[i]) ; }
return GetPointNbr() > 0 ; }
private :
bool MyChangeStart( int nPos) ;