Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - Français

Change language to:
English - 日本語 - Português

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Manuel Scilab >> Bibliothèque graphique > 3d_plot > geom3d

geom3d

projection 3D vers 2D après une instruction de dessin 3D

Séquence d'appel

[x,y]=geom3d(x1,y1,z1)

Paramètres

x1,y1,z1

vecteur réels de même taille (points 3D).

x,y

vecteurs réels de même taille que x1, y1 et z1.

Description

Après l'utilisation d'une instruction de dessin 3D du type plot3d, plot3d1 ou param3d, geom3d permet de faire la correspondance entre un point de l'espace 3D (x1(i),y1(i),z1(i)) et le point correspondant (x(i),y(i)) dans le plan projeté 2D. On peut ainsi utiliser les primitives graphiques avec (x,y) pour superposer des dessins.

Exemples

deff("[z]=surface(x,y)","z=sin(x)*cos(y)")
t=%pi*(-10:10)/10;
// 3D plot of the surface
fplot3d(t,t,surface,35,45,"X@Y@Z")
// now (t,t,sin(t).*cos(t)) is a curve on the surface
// which can be drawn using geom3d and xpoly
[x,y]=geom3d(%pi/2,0,surface(%pi/2,0))

Auteurs

J.Ph.C.

<< genfac3d 3d_plot hist3d >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:24:15 CET 2011