EgtGeomKernel 1.5g1 :
- alle curve aggiunto il metodo CopyParamRange (per curve chiuse ammatte range che passano dal punto di chiusura) - trasformato il metodo Copy di tutti gli oggetti geometrici in CopyFrom - a TSC aggiunte funzioni CopyCurveByParamRange e SplitCurveByClass - migliorata gestione intersezioni sovrapposte - aggiunta classificazione parti di curva (IN,OUT,ONP,ONM) da intersezioni con altra curva chiusa.
This commit is contained in:
+4
-4
@@ -86,7 +86,7 @@ GeoFrame3d::Clone( void) const
|
||||
// alloco oggetto
|
||||
GeoFrame3d* pGFr = new(nothrow) GeoFrame3d ;
|
||||
if ( pGFr != nullptr) {
|
||||
if ( ! pGFr->Copy( *this)) {
|
||||
if ( ! pGFr->CopyFrom( *this)) {
|
||||
delete pGFr ;
|
||||
return nullptr ;
|
||||
}
|
||||
@@ -97,17 +97,17 @@ GeoFrame3d::Clone( void) const
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GeoFrame3d::Copy( const IGeoObj* pGObjSrc)
|
||||
GeoFrame3d::CopyFrom( const IGeoObj* pGObjSrc)
|
||||
{
|
||||
const GeoFrame3d* pGFr = dynamic_cast<const GeoFrame3d*>( pGObjSrc) ;
|
||||
if ( pGFr == nullptr)
|
||||
return false ;
|
||||
return Copy( *pGFr) ;
|
||||
return CopyFrom( *pGFr) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GeoFrame3d::Copy( const GeoFrame3d& gfSrc)
|
||||
GeoFrame3d::CopyFrom( const GeoFrame3d& gfSrc)
|
||||
{
|
||||
if ( &gfSrc == this)
|
||||
return true ;
|
||||
|
||||
Reference in New Issue
Block a user