EgtInterface :

- cambiati alcuni nomi di funzioni come in Executor (CurveLine->Line, CurveCircle->Circle, CurveArc->Arc, ExtText->Text)
- aggiunta funzione per creazione BiArco
- aggiunte alcune funzioni di info su archi.
This commit is contained in:
Dario Sassi
2015-07-31 10:22:09 +00:00
parent e6e96f6de2
commit a8c0bd30e8
3 changed files with 71 additions and 49 deletions
+20 -6
View File
@@ -269,18 +269,32 @@ __stdcall EgtGetMinDistPntSidePointCurve( const double ptP[3], int nId, const do
//----------------------------------------------------------------------------
BOOL
__stdcall EgtCurveArcRadius( int nId, double* pdRad)
__stdcall EgtArcRadius( int nId, double* pdRad)
{
return ( ExeCurveArcRadius( nId, pdRad) ? TRUE : FALSE) ;
return ( ExeArcRadius( nId, pdRad) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtCurveArcNormVersor( int nId, int nRefId, double vtNorm[3])
__stdcall EgtArcAngCenter( int nId, double* pdAngDeg)
{
return ( ExeArcAngCenter( nId, pdAngDeg) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtArcDeltaN( int nId, double* pdDeltaN)
{
return ( ExeArcDeltaN( nId, pdDeltaN) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtArcNormVersor( int nId, int nRefId, double vtNorm[3])
{
// recupero il vettore normale
Vector3d vtTmp ;
if ( ! ExeCurveArcNormVersor( nId, nRefId, vtTmp))
if ( ! ExeArcNormVersor( nId, nRefId, vtTmp))
return FALSE ;
// lo assegno
VEC_FROM_3D( vtNorm, vtTmp)
@@ -376,11 +390,11 @@ __stdcall EgtSurfTmFacetNormVersor( int nId, int nFacet, int nRefId, double vtNo
//----------------------------------------------------------------------------
BOOL
__stdcall EgtExtTextNormVersor( int nId, int nRefId, double vtNorm[3])
__stdcall EgtTextNormVersor( int nId, int nRefId, double vtNorm[3])
{
// recupero il vettore normale
Vector3d vtTmp ;
if ( ! ExeExtTextNormVersor( nId, nRefId, vtTmp))
if ( ! ExeTextNormVersor( nId, nRefId, vtTmp))
return FALSE ;
// lo assegno
VEC_FROM_3D( vtNorm, vtTmp)