* CINEMB PROCEDUR PYROS1 96/01/03 21:16:05 1968 MESH3*'MAILLAGE'; ********************************************************************* * INPUT: * MESH0=MESH TO BE PLOTTED * MESH1=MESH OF POI1 INDICATING THE SUCESSIVE POSITION OF THE POINT * OF VIEW OF THE OBSERVER * MESH2=MESH OF POI1 INDICATING THE SUCCESSIVE DIRECTION POINTED BY * THE EYES OF THE OBSERVER * MESH3=MESH OF POI1 INDICATING THE SUCCESSIVE DIRECTION OF THE AXE * OF THE HEAD OF THE OBSERVER * OUTPUT: * DEFOT=SUCCESSIVE DEFORME OF THE MESH REFERENCED TO THE FIRST POSITION * OF THE OBSERVER ********************************************************************* * P.PEGON/JRC ISPRA/10.95 ********************************************************************* * LOK=VRAI; * * verification des donnees * LOK=FAUX; 'SINON'; LOK=FAUX; 'FINSI'; 'FINSI'; * LOK=FAUX; 'SINON'; LOK=FAUX; 'FINSI'; 'FINSI'; * LOK=FAUX; 'SINON'; LOK=FAUX; 'FINSI'; 'FINSI'; * 'SI' ('NEG' NBEL1 NBEL2); LOK=FAUX; 'FINSI'; 'SI' ('NEG' NBEL1 NBEL3); LOK=FAUX; 'FINSI'; 'SI' ('EGA' NBEL1 1); LOK=FAUX; 'FINSI'; * 'SI' LOK; O0=0. 0. 0.; * * traitement du premier point * DEFOT=DEFO1; * * traitement des autres points * J=1; 'REPE' LAB1 (NBEL1-1); J=J+1; * * 'SI' (SINJ0 '>' 1.E-4); 'SI' (('ABS' COSJ0) '>' 1.E-4); ANGJ0='ATG' SINJ0 COSJ0; 'SINON'; ANGJ0=90.; 'FINSI'; 'SINON'; OMEJ0=VECTJ 'PVECT' DIREJ; 'SI' (COSJ0 '>' 0.); ANGJ0=0.; 'SINON'; ANGJ0=180.; 'FINSI'; 'FINSI'; * * 'SI' ('NEG' ANGJ0 0.); 'FINSI'; * TRAJ1=OEIL1 'MOINS' OEILJ; * * 'SI' (SINJ1 '>' 1.E-4); 'SI' (('ABS' COSJ1) '>' 1.E-4); ANGJ1='ATG' SINJ1 COSJ1; 'SINON'; ANGJ1=90.; 'FINSI'; 'SINON'; OMEJ1=VECT1; 'SI' (COSJ1 '>' 0.); ANGJ1=0.; 'SINON'; ANGJ1=180.; 'FINSI'; 'FINSI'; * mess 'ANGJ0,ANGJ1' ANGJ0 ANGJ1; 'SI' ('NEG' ANGJ0 0.); 'FINSI'; 'SI' ('NEG' ANGJ1 0.); 'FINSI'; 'SI' ('NEG' ANGJ1 0.); 'FINSI'; 'SI' ('NEG' ANGJ0 0.); 'FINSI'; DEFOT=DEFOT 'ET' DEFJ1; * 'FIN' LAB1; * 'SINON'; DEFOT=LOK; 'FINSI'; * 'FINPROC' DEFOT;
© Cast3M 2003 - Tous droits réservés.
Mentions légales