Include :

- sistemazioni interfacce.
This commit is contained in:
Dario Sassi
2014-08-19 20:23:36 +00:00
parent 159822ef6f
commit 46ab949c36
5 changed files with 8 additions and 6 deletions
-1
View File
@@ -25,5 +25,4 @@
//-----------------------------------------------------------------------------
EGK_EXPORT ICurve* GetBiArc( const Point3d& ptP0, double dDir0Deg, const Point3d& ptP1, double dDir1Deg, double dU) ;
EGK_EXPORT ICurve* GetBiArc( const PolyLine& PL, double dU0, double dDir0Deg, double dU1, double dDir1Deg) ;
+2 -1
View File
@@ -53,7 +53,8 @@ class PolyArc
EGK_EXPORT bool ToGlob( const Frame3d& frRef) ;
EGK_EXPORT bool ToLoc( const Frame3d& frRef) ;
EGK_EXPORT bool LocToLoc( const Frame3d& frOri, const Frame3d& frDest) ;
EGK_EXPORT bool Splice( PolyArc& PA) ;
EGK_EXPORT bool Join( PolyArc& PA, double dOffsetPar = 0) ;
EGK_EXPORT bool Split( double dU, PolyArc& PA) ;
EGK_EXPORT const Vector3d& GetExtrusion(void) const
{ return m_vtExtr ; }
EGK_EXPORT int GetRejectedNbr( void) const
+2 -1
View File
@@ -49,7 +49,8 @@ class PolyLine
EGK_EXPORT bool ToGlob( const Frame3d& frRef) ;
EGK_EXPORT bool ToLoc( const Frame3d& frRef) ;
EGK_EXPORT bool LocToLoc( const Frame3d& frOri, const Frame3d& frDest) ;
EGK_EXPORT bool Splice( PolyLine& PL) ;
EGK_EXPORT bool Join( PolyLine& PL, double dOffsetPar = 0) ;
EGK_EXPORT bool Split( double dU, PolyLine& PL) ;
EGK_EXPORT bool IsClosed( void) const ;
EGK_EXPORT int GetRejectedNbr( void) const
{ return m_nRejected ; }
+1
View File
@@ -28,6 +28,7 @@ class __declspec( novtable) ICurveBezier : public ICurve
virtual bool FromArc( const ICurveArc& crArc) = 0 ;
virtual int GetDegree( void) const = 0 ;
virtual bool IsRational( void) const = 0 ;
virtual bool IsAPoint( void) const = 0 ;
virtual const Point3d& GetControlPoint( int nInd, bool* pbOk = NULL) const = 0 ;
virtual double GetControlWeight( int nInd, bool* pbOk = NULL) const = 0 ;
virtual bool GetControlPolygonLength( double& dLen) const = 0 ;
+3 -3
View File
@@ -30,7 +30,7 @@ class PtrOwner
private :
T* m_pT ;
template <class T> friend bool IsValid( PtrOwner<T>& RPT) ;
template <class T> friend bool IsNull( PtrOwner<T>& RPT) ;
template <class T> friend T* Get( PtrOwner<T>& RPT) ;
template <class T> friend T* Release( PtrOwner<T>& RPT) ;
} ;
@@ -38,9 +38,9 @@ class PtrOwner
//----------------------------------------------------------------------------
template <class T>
bool
IsValid( PtrOwner<T>& RPT)
IsNull( PtrOwner<T>& RPT)
{
return ( RPT.m_pT != nullptr) ;
return ( RPT.m_pT == nullptr) ;
}
//----------------------------------------------------------------------------