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:
+20
-6
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user