EgtInterface 1.6h3 :

- EgtExplodeSurface per trimesh e Region
- Count invece di Nbr
- normale a regione e conteggio chunk.
This commit is contained in:
Dario Sassi
2015-08-18 07:40:36 +00:00
parent a0f4898de2
commit 8d01a7ad93
6 changed files with 43 additions and 16 deletions
+23 -3
View File
@@ -315,10 +315,30 @@ __stdcall EgtCurveCompoCenter( int nId, int nSimpCrv, int nRefId, double ptCen[3
}
//----------------------------------------------------------------------------
int
__stdcall EgtSurfTmFacetNbr( int nId)
BOOL
__stdcall EgtSurfFrNormVersor( int nId, int nRefId, double vtNorm[3])
{
return ExeSurfTmFacetNbr( nId) ;
// recupero il vettore normale
Vector3d vtTmp ;
if ( ! ExeSurfFrNormVersor( nId, nRefId, vtTmp))
return FALSE ;
// lo assegno
VEC_FROM_3D( vtNorm, vtTmp)
return TRUE ;
}
//----------------------------------------------------------------------------
int
__stdcall EgtSurfFrChunkCount( int nId)
{
return ExeSurfFrChunkCount( nId) ;
}
//----------------------------------------------------------------------------
int
__stdcall EgtSurfTmFacetCount( int nId)
{
return ExeSurfTmFacetCount( nId) ;
}
//----------------------------------------------------------------------------