Include :

- aggiornamento prototipi.
This commit is contained in:
Dario Sassi
2017-11-20 08:26:09 +00:00
parent 0a64381d6b
commit b97cd5af0e
3 changed files with 5 additions and 0 deletions
+2
View File
@@ -48,6 +48,8 @@ class Plane3d
{ return m_dDist ; }
public :
bool IsValid( void) const
{ return ! m_vtN.IsSmall() ; }
void Translate( const Vector3d& vtMove)
{ Point3d ptP = ORIG + m_dDist * m_vtN ;
ptP.Translate( vtMove) ;
+1
View File
@@ -47,6 +47,7 @@ class __declspec( novtable) IVolZmap : public IGeoObj
virtual bool MillingStep( const Point3d& ptPs, const Vector3d& vtDs, const Point3d& ptPe, const Vector3d& vtDe) = 0 ;
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 AvoidBox( const Frame3d& frBox, const Vector3d& vtDiag) const = 0 ;
virtual IVolZmap* ClonePart( int nPart) const = 0 ;
virtual bool RemovePart( int nPart) = 0 ;
+2
View File
@@ -331,6 +331,7 @@ EXE_EXPORT bool ExeGroupDump( int nId, std::string& sDump) ;
EXE_EXPORT bool ExeGeoObjDump( int nId, std::string& sDump) ;
// GeomDB Obj Attributes
EXE_EXPORT bool ExeCopyAttributes( int nSouId, int nDestId) ;
EXE_EXPORT bool ExeSetLevel( int nId, int nLevel) ;
EXE_EXPORT bool ExeRevertLevel( int nId) ;
EXE_EXPORT bool ExeGetLevel( int nId, int* pnLevel) ;
@@ -488,6 +489,7 @@ EXE_EXPORT bool ExeVolZmapMillingStep( int nId, const Point3d& ptPs, const Vecto
const Point3d& ptPe, const Vector3d& vtDe, const Vector3d& vtAe, int nRefType) ;
EXE_EXPORT bool ExeVolZmapGetDepth( int nId, const Point3d& ptP, const Vector3d& vtDir, int nRefType, bool bExact,
double& dInLen, double& dOutLen) ;
EXE_EXPORT int ExeVolZmapIntersPlane( int nId, const Plane3d& plPlane, int nDestGrpId, int nRefType, int* pnCount) ;
EXE_EXPORT bool ExeVolZmapAvoidBox( int nId, const Frame3d& frBox, const Vector3d& vtDiag, int nRefType) ;
// Geo Snap Vector/Point/Frame