Include :
- aggiornamenti.
This commit is contained in:
@@ -55,6 +55,10 @@ class EGK_EXPORT BBox3d
|
||||
public :
|
||||
bool IsEmpty( void) const
|
||||
{ return ( ! IsValid()) ; }
|
||||
bool IsSmall( void) const ;
|
||||
bool IsSmallXY( void) const ;
|
||||
bool IsEpsilon( double dToler) const ;
|
||||
bool IsEpsilonXY( double dToler) const ;
|
||||
void Add( const Point3d& ptP) ;
|
||||
void Add( double dX, double dY, double dZ) ;
|
||||
void Add( const BBox3d& b3B) ;
|
||||
@@ -78,6 +82,8 @@ class EGK_EXPORT BBox3d
|
||||
bool LocToLoc( const Frame3d& frOri, const Frame3d& frDest) ;
|
||||
bool Encloses( const Point3d& ptP) const ;
|
||||
bool EnclosesXY( const Point3d& ptP) const ;
|
||||
bool Encloses( const BBox3d& b3Box) const ;
|
||||
bool EnclosesXY( const BBox3d& b3Box) const ;
|
||||
bool Overlaps( const BBox3d& b3B) const ;
|
||||
bool OverlapsXY( const BBox3d& b3B) const ;
|
||||
bool FindIntersection( const BBox3d& b3B, BBox3d& b3Int) const ;
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "/EgtDev/Include/EGkPoint3d.h"
|
||||
#include "/EgtDev/Include/EGkBBox3d.h"
|
||||
#include "/EgtDev/Include/EGkCurvePointDiffGeom.h"
|
||||
#include "/EgtDev/Include/EgtNumCollection.h"
|
||||
|
||||
@@ -43,3 +44,8 @@ typedef std::list<CrvPointDiffGeom> CPDGLIST ; // lista di CrvPointDiffGe
|
||||
// Raccolte di Vector3d
|
||||
typedef std::vector<Vector3d> VCT3DVECTOR ; // vettore di vettori 3d
|
||||
typedef std::list<Vector3d> VCT3DLIST ; // lista di vettori 3d
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// Raccolte di BBox3d
|
||||
typedef std::vector<BBox3d> BOXVECTOR ; // vettore di bounding box 3d
|
||||
typedef std::list<BBox3d> BOXLIST ; // lista di bounding box 3d
|
||||
|
||||
+2
-2
@@ -315,7 +315,7 @@ DirDist( const Point3d& ptP1, const Point3d& ptP2, Vector3d& vtDir, double& dDis
|
||||
//! Verifica se due punti sono quasi coincidenti (tolleranza come parametro)
|
||||
//----------------------------------------------------------------------------
|
||||
inline bool
|
||||
AreSamePointEpsilon( const Point3d& ptP1, const Point3d& ptP2, const double dToler)
|
||||
AreSamePointEpsilon( const Point3d& ptP1, const Point3d& ptP2, double dToler)
|
||||
{
|
||||
return ( SqDist( ptP1, ptP2) < ( dToler * dToler)) ;
|
||||
}
|
||||
@@ -324,7 +324,7 @@ AreSamePointEpsilon( const Point3d& ptP1, const Point3d& ptP2, const double dTol
|
||||
//! Verifica se due punti sono quasi coincidenti nel piano XY (tolleranza come parametro)
|
||||
//----------------------------------------------------------------------------
|
||||
inline bool
|
||||
AreSamePointXYEpsilon( const Point3d& ptP1, const Point3d& ptP2, const double dToler)
|
||||
AreSamePointXYEpsilon( const Point3d& ptP1, const Point3d& ptP2, double dToler)
|
||||
{
|
||||
return ( SqDistXY( ptP1, ptP2) < ( dToler * dToler)) ;
|
||||
}
|
||||
|
||||
@@ -432,7 +432,13 @@ EIN_EXPORT BOOL __stdcall EgtShearGroup( int nId, const double vPnt[3], const do
|
||||
|
||||
// Nesting
|
||||
EIN_EXPORT BOOL __stdcall EgtCreateFlatParts( int nType) ;
|
||||
EIN_EXPORT BOOL __stdcall EgtPackPart( int nId, double dXmin, double dYmin, double dXmax, double dOffs) ;
|
||||
EIN_EXPORT BOOL __stdcall EgtPackPart( int nId, double dXmin, double dYmin,
|
||||
double dXmax, double dYmax, double dOffs, BOOL bBottomUp) ;
|
||||
EIN_EXPORT BOOL __stdcall EgtPackCluster( int nId[], int nCount, double dXmin, double dYmin,
|
||||
double dXmax, double dYmax, double dOffs, BOOL bBottomUp) ;
|
||||
EIN_EXPORT BOOL __stdcall EgtGetClusterBBoxGlob( int nId[], int nCount, double ptMin[3], double ptMax[3]) ;
|
||||
EIN_EXPORT BOOL __stdcall EgtMoveCluster( int nId[], int nCount, const double vtMove[3],
|
||||
double dXmin, double dYmin, double dXmax, double dYmax, double dOffs) ;
|
||||
|
||||
// Machining
|
||||
EIN_EXPORT BOOL __stdcall EgtInitMachMgr( const wchar_t* wsMachinesDir) ;
|
||||
|
||||
+7
-1
@@ -441,7 +441,13 @@ EXE_EXPORT bool ExeShearGroup( int nId, const Point3d& ptP, const Vector3d& vtN,
|
||||
|
||||
// Nesting
|
||||
EXE_EXPORT bool ExeCreateFlatParts( int nType) ;
|
||||
EXE_EXPORT bool ExePackPart( int nId, double dXmin, double dYmin, double dXmax, double dOffs) ;
|
||||
EXE_EXPORT bool ExePackPart( int nId, double dXmin, double dYmin,
|
||||
double dXmax, double dYmax, double dOffs, bool bBottomUp) ;
|
||||
EXE_EXPORT bool ExePackCluster( const INTVECTOR& vIds, double dXmin, double dYmin,
|
||||
double dXmax, double dYmax, double dOffs, bool bBottomUp) ;
|
||||
EXE_EXPORT bool ExeGetClusterBBoxGlob( const INTVECTOR& vIds, BBox3d& b3Box) ;
|
||||
EXE_EXPORT bool ExeMoveCluster( const INTVECTOR& vIds, const Vector3d& vtMove,
|
||||
double dXmin, double dYmin, double dXmax, double dYmax, double dOffs) ;
|
||||
|
||||
// Machining
|
||||
EXE_EXPORT bool ExeInitMachMgr( const std::string& sMachinesDir) ;
|
||||
|
||||
Reference in New Issue
Block a user