EgtGeomKernel 1.5a6 : prima versione di scalatura non uniforme,
aggiunto comando COUNTER in tsc.
This commit is contained in:
+2
-2
@@ -162,7 +162,7 @@ GdbObj::Rotate( const Point3d& ptAx, const Vector3d& vtAx, double dCosAng, doubl
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbObj::Scale( const Point3d& ptCen, double dCoeffX, double dCoeffY, double dCoeffZ)
|
||||
GdbObj::Scale( const Frame3d& frRef, double dCoeffX, double dCoeffY, double dCoeffZ)
|
||||
{
|
||||
if ( m_pGeoObj != nullptr) {
|
||||
// se scalatura non omogenea e arco, devo trasformare in curva di Bezier
|
||||
@@ -179,7 +179,7 @@ GdbObj::Scale( const Point3d& ptCen, double dCoeffX, double dCoeffY, double dCoe
|
||||
m_pGeoObj = Release( pCrvBez) ;
|
||||
}
|
||||
// eseguo scalatura
|
||||
return m_pGeoObj->Scale( ptCen, dCoeffX, dCoeffY, dCoeffZ) ;
|
||||
return m_pGeoObj->Scale( frRef, dCoeffX, dCoeffY, dCoeffZ) ;
|
||||
}
|
||||
else
|
||||
return false ;
|
||||
|
||||
Reference in New Issue
Block a user