Include :

- Semplificazione funzioni per CAvToolSilhouette e CAvToolSurfTm.
This commit is contained in:
Riccardo Elitropi
2025-03-11 11:16:07 +01:00
parent 9de2ae9561
commit 9577094c3d
2 changed files with 5 additions and 8 deletions
+3 -6
View File
@@ -31,14 +31,11 @@ class __declspec( novtable) ICAvParSilhouettesSurfTm
{ {
public : public :
virtual ~ICAvParSilhouettesSurfTm( void) {} virtual ~ICAvParSilhouettesSurfTm( void) {}
// generica
virtual bool SetData( const CISURFTMPVECTOR& vpStm, const Frame3d& frPlanes, double dTol) = 0 ; virtual bool SetData( const CISURFTMPVECTOR& vpStm, const Frame3d& frPlanes, double dTol) = 0 ;
virtual bool SetData( const CISURFTMPVECTOR& vpStm, const Frame3d& frPlanes, double dTol,
double dSideAng, double dDiam, double dCornRad, double dMaxMat, double dOffsR,
double dMaxDepth) = 0 ;
virtual bool GetSilhouette( double dLevel, POLYLINEVECTOR& vPL) = 0 ; virtual bool GetSilhouette( double dLevel, POLYLINEVECTOR& vPL) = 0 ;
// con regione piana
virtual bool SetDataForRegion( const CISURFTMPVECTOR& vpStm, const ISurfFlatRegion* pSfr, double dSideAng,
double dDiam, double dCornRad, double dMaxMat, double dOffsR,
double dSampleTol = 10 * EPS_SMALL, double dSharpedAngTol = 15.) = 0 ;
virtual bool GetSilhouetteInsideRegion( double dLevel, POLYLINEVECTOR& vPL) = 0 ;
} ; } ;
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
+2 -2
View File
@@ -43,11 +43,11 @@ class __declspec( novtable) ICAvToolSurfTm {
virtual const ICurveComposite& GetToolOutline( bool bApprox = false) const = 0 ; virtual const ICurveComposite& GetToolOutline( bool bApprox = false) const = 0 ;
virtual bool TestPosition( const Point3d& ptT, const Vector3d& vtDir, const Vector3d& vtMove, virtual bool TestPosition( const Point3d& ptT, const Vector3d& vtDir, const Vector3d& vtMove,
double& dTotDist, Vector3d* pvtTriaN = nullptr) const = 0 ; double& dTotDist, Vector3d* pvtTriaN = nullptr) const = 0 ;
virtual bool TestPointAdv( const Point3d& ptT, const Vector3d& vtDir, const Vector3d& vtMove, virtual bool TestPositionAdv( const Point3d& ptT, const Vector3d& vtDir, const Vector3d& vtMove,
double& dTotDist, VCT3DVECTOR& vVtN) const = 0 ; double& dTotDist, VCT3DVECTOR& vVtN) const = 0 ;
virtual bool TestSeries( PNTUVECTOR& vPntM, const Vector3d& vtDir, const Vector3d& vtMove, double dProgCoeff = 1) = 0 ; virtual bool TestSeries( PNTUVECTOR& vPntM, const Vector3d& vtDir, const Vector3d& vtMove, double dProgCoeff = 1) = 0 ;
virtual bool TestSeriesAdv( PNTUVVECTVECTOR& vPntM, const Vector3d& vtDir, const Vector3d& vtMove, double dProgCoeff = 1) = 0 ;
virtual bool TestPath( PNTULIST& lPntM, const Vector3d& vtDir, const Vector3d& vtMove, double dLinTol, double dProgCoeff = 1) = 0 ; virtual bool TestPath( PNTULIST& lPntM, const Vector3d& vtDir, const Vector3d& vtMove, double dLinTol, double dProgCoeff = 1) = 0 ;
virtual bool TestPointsAdv( PNTUVVECTLIST& lPntM, const Vector3d& vtDir, const Vector3d& vtMove, double dProgCoeff = 1) = 0 ;
} ; } ;
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------