EgtGeomKernel 1.5a4 : Implementazione BoundingBox.
This commit is contained in:
+15
-7
@@ -13,15 +13,8 @@
|
||||
|
||||
//--------------------------- Include ----------------------------------------
|
||||
#include "stdafx.h"
|
||||
#include "\EgtDev\Include\EGkGeoConst.h"
|
||||
#include "\EgtDev\Include\EGkFrame3d.h"
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
Frame3d::Frame3d( void)
|
||||
: m_nType( TOP), m_nZType( TOP), m_ptOrig( ORIG), m_vtVersX( X_AX), m_vtVersY( Y_AX), m_vtVersZ( Z_AX)
|
||||
{
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Frame3d::Set( const Point3d& ptOrig, const Vector3d& vtDirX,
|
||||
@@ -203,6 +196,21 @@ Frame3d::Rotate( const Point3d& ptAx, const Vector3d& vtAx, double dCosAng, doub
|
||||
return true ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Frame3d::Invert( void)
|
||||
{
|
||||
Frame3d frInv = GLOB_FRM ;
|
||||
|
||||
|
||||
if ( frInv.ToLoc( *this)) {
|
||||
*this = frInv ;
|
||||
return true ;
|
||||
}
|
||||
else
|
||||
return false ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Frame3d::ToGlob( const Frame3d& frRef)
|
||||
|
||||
Reference in New Issue
Block a user