Include :

- rinominato POCRVVECTOR in ICURVEPOVECTOR
- aggiunte raccolte di puntatori a ICurveComposite.
This commit is contained in:
Dario Sassi
2018-04-11 06:02:03 +00:00
parent 057660febf
commit 06d5915cd0
3 changed files with 13 additions and 5 deletions
+4 -4
View File
@@ -105,7 +105,7 @@ inline ICurve* GetCurve( IGeoObj* pGObj)
//----------------------------------------------------------------------------
// Raccolte di puntatori a ICurve
typedef std::vector<const ICurve*> CICURVEPVECTOR ; // vettore di puntatori a const ICurve
typedef std::vector<ICurve*> ICURVEPVECTOR ; // vettore di puntatori a ICurve
typedef std::list<ICurve*> ICURVEPLIST ; // lista di puntatori a ICurve
typedef std::vector<PtrOwner<ICurve>> POCRVVECTOR ; // vettore di puntatori esclusivi a ICurve
typedef std::vector<const ICurve*> CICURVEPVECTOR ; // vettore di puntatori a const ICurve
typedef std::vector<ICurve*> ICURVEPVECTOR ; // vettore di puntatori a ICurve
typedef std::list<ICurve*> ICURVEPLIST ; // lista di puntatori a ICurve
typedef std::vector<PtrOwner<ICurve>> ICURVEPOVECTOR ; // vettore di puntatori esclusivi a ICurve
+8
View File
@@ -41,6 +41,7 @@ class __declspec( novtable) ICurveComposite : public ICurve
virtual bool IsParamAtJoint( double dU) const = 0 ;
virtual ICurve* RemoveFirstOrLastCurve( bool bLast = true) = 0 ;
virtual bool ChangeStartPoint( double dU) = 0 ;
virtual bool AddPoint( const Point3d& ptStart) = 0 ;
virtual bool AddLine( const Point3d& ptNew, bool bEndOrStart = true) = 0 ;
virtual bool AddArcTg( const Point3d& ptNew, bool bEndOrStart = true) = 0 ;
virtual bool AddArc2P( const Point3d& ptOther, const Point3d& ptNew, bool bEndOrStart = true) = 0 ;
@@ -69,3 +70,10 @@ inline ICurveComposite* GetCurveComposite( IGeoObj* pGObj)
{ if ( pGObj == nullptr || pGObj->GetType() != CRV_COMPO)
return nullptr ;
return (static_cast<ICurveComposite*>(pGObj)) ; }
//----------------------------------------------------------------------------
// Raccolte di puntatori a ICurveComposite
typedef std::vector<const ICurveComposite*> CICRVCOMPOVECTOR ; // vettore di puntatori a const ICurveComposite
typedef std::vector<ICurveComposite*> ICRVCOMPOPVECTOR ; // vettore di puntatori a ICurveComposite
typedef std::list<ICurveComposite*> ICRVCOMPOPLIST ; // lista di puntatori a ICurveComposite
typedef std::vector<PtrOwner<ICurveComposite>> ICRVCOMPOPOVECTOR ; // vettore di puntatori esclusivi a ICurveComposite
+1 -1
View File
@@ -48,7 +48,7 @@ class __declspec( novtable) IVolZmap : public IGeoObj
virtual bool MillingStep( const Point3d& ptPs, const Vector3d& vtDs, const Vector3d& vtAs,
const Point3d& ptPe, const Vector3d& vtDe, const Vector3d& vtAe) = 0 ;
virtual bool GetDepth( const Point3d& ptP, const Vector3d& vtDir, double& dInLength, double& dOutLength, bool bExact) const = 0 ;
virtual bool GetPlaneIntersection( const Plane3d& plPlane, POCRVVECTOR& vpLoop) const = 0 ;
virtual bool GetPlaneIntersection( const Plane3d& plPlane, ICURVEPOVECTOR& vpLoop) const = 0 ;
virtual bool AvoidBox( const Frame3d& frBox, const Vector3d& vtDiag) const = 0 ;
virtual bool AvoidSphere( const Point3d& ptCenter, double dRad) const = 0 ;
virtual bool AvoidCylinder( const Frame3d& frCyl, double dL, double dR) const = 0 ;