Modulefpreviousupnextcontentsindex[BIG][Normal][small]
Suiv.: 7.6 Manipulations de matrices et vecteurs Sup.: 7 Programmes internes Préc.: 7.4 Manipulations de base Index Table des matières


7.5 Conversions

      SUBROUTINE SPHCAR(OBSPH, PVU, OBS, VERTI)
      REAL OBS(3), OBSPH(3), PVU(3)
      INTEGER VERTI

Convertit OBSPH, en  coordonnées sphériques (angle par rapport à OX, elévation par rapport à XOY et distance), en OBS, en coordonnées cartesiénnes (x,y,z).

Entrée: OBSPH: observateur en coordonnées sphériques et

PVU: point regardé (x,y,z)

VERTI: verticale 1=ox, 2=oy, 3=oz

Sortie: OBS: observateur en coordonnées cartésiennes.

      SUBROUTINE CARSPH(OBS, PVU, OBSPH ,VERTI)
      REAL OBS(3), OBSPH(3), PVU(3)
      INTEGER VERTI

Convertit OBS, en  coordonnées cartésiennes (x,y,z), en OBSPH, en coordonnées sphériques (a/ox, e/xoy, distance).

Entrée: OBS: observateur en coordonnées cartésiennes (x,y,z)

PVU: point regardé (x,y,z)

VERTI: verticale 1=ox, 2=oy, 3=oz

Sortie: OBSPH: observateur en coordonnées sphériques.


Modulefpreviousupnextcontentsindex[BIG][Normal][small]
Suiv.: 7.6 Manipulations de matrices et vecteurs Sup.: 7 Programmes internes Préc.: 7.4 Manipulations de base Index Table des matières