EgtInterface 1.5k1 :
- agg. gestione attributi per selezione superfici in shading - EgtSplitCurveCompo è diventata EgtSeparateCurveCompo - aggiunta EgtSplitCurveAtPoint - aggiunta EgtFrameFrom3Points
This commit is contained in:
@@ -338,6 +338,23 @@ __stdcall EgtPointLocToLoc( double* pdX, double* pdY, double* pdZ,
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Frame3d
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtFrameFrom3Points( double ptO[3], double ptOnX[3], double ptNearY[3],
|
||||
double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3])
|
||||
{
|
||||
// calcolo il riferimento
|
||||
Frame3d frTemp ;
|
||||
if ( ! frTemp.Set( Point3d( ptO), Point3d( ptOnX), Point3d( ptNearY)))
|
||||
return FALSE ;
|
||||
// aggiorno i parametri del frame
|
||||
VEC_FROM_3D( ptOrig, frTemp.Orig())
|
||||
VEC_FROM_3D( vtX, frTemp.VersX())
|
||||
VEC_FROM_3D( vtY, frTemp.VersY())
|
||||
VEC_FROM_3D( vtZ, frTemp.VersZ())
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtFrameTranslate( double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3],
|
||||
|
||||
Reference in New Issue
Block a user