* CINEMA PROCEDUR PYROS1 96/01/03 21:16:00 1968 VECT1*'POINT'; ********************************************************************* * 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 * VECT1=DIRECTION DEFINING THE (FIXED) VERTICAL 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/05.95 ********************************************************************* * * LOK=VRAI; * * verification des donnees * LOK=FAUX; 'SINON'; LOK=FAUX; 'FINSI'; 'FINSI'; * LOK=FAUX; 'SINON'; LOK=FAUX; 'FINSI'; 'FINSI'; * 'SI' ('NEG' NBEL1 NBEL2); LOK=FAUX; 'FINSI'; 'SI' ('EGA' NBEL1 1); LOK=FAUX; 'FINSI'; * 'SI' LOK; * * traitement du premier point * DEFOT=DEFO1; * * traitement des autres points * J=1; 'REPE' LAB1 (NBEL1-1); J=J+1; * * 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'; 'SI' ('NEG' ANGJ1 0.); 'FINSI'; DEFOT=DEFOT 'ET' DEFJ1; * 'FIN' LAB1; * 'SINON'; DEFOT=LOK; 'FINSI'; * 'FINPROC' DEFOT;
© Cast3M 2003 - Tous droits réservés.
Mentions légales