FreeCAD-Doc/localwiki/Matrix_API-fr.html
2018-07-19 18:47:02 -05:00

304 lines
14 KiB
HTML

<html><head><title>Matrix API/fr</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Matrix API/fr</h1></div>
<div id="mw-content-text" lang="fr" dir="ltr" class="mw-content-ltr"><hr/><div class="mw-parser-output"><p>Les Matrices 4x4 sont utilisées partout dans FreeCAD et peuvent être créées par l'une des façons suivantes:
</p>
<pre>m=FreeCAD.Matrix() # m = the [http://en.wikipedia.org/wiki/Identity_matrix identity matrix]
m=FreeCAD.Base.Matrix()
print m.A21() # print m[1][0] </pre>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> tous les éléments de la matrice
</p>
</div>
</div>
<p><br />
.
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A11 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A12 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A13 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A14 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A21 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A22 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A23 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A24 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A31 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A32 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A33 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A34 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A41 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A42 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A43 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b> A44 </b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small>
</p><p><small><b>Returns</b>:</small> un élément de matrice.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b>determinant</b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small> Calcule le <a rel="nofollow" class="external text" href="http://fr.wikipedia.org/wiki/D%C3%A9terminant_%28math%C3%A9matiques%29">déterminant</a> de la matrice
</p><p><small><b>Returns</b>:</small> un nombre.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b>inverse</b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small> <a rel="nofollow" class="external text" href="http://fr.wikipedia.org/wiki/Matrice_inversible">Matrice Inverse</a> cette matrice, si possible
</p><p><small><b>Returns</b>:</small> rien.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b>invert</b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small> Returne l'<a rel="nofollow" class="external text" href="http://fr.wikipedia.org/wiki/Matrice_inversible">inverse</a>de cette matrice, si possible
</p><p><small><b>Returns</b>:</small> une Matrice
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b>move</b></big> ( <i>Vector</i> )</div>
<div class="description">
<p><small><b>Description</b>:</small> fait faire à cette matrice une <a rel="nofollow" class="external text" href="http://fr.wikipedia.org/wiki/Translation_%28g%C3%A9om%C3%A9trie%29">translation</a>
</p><p><small><b>Returns</b>:</small> rien.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b>multiply</b></big> ( <i>Matrix or Vector</i> )</div>
<div class="description">
<p><small><b>Description</b>:</small> Retourne le <a rel="nofollow" class="external text" href="http://http://fr.wikipedia.org/wiki/Produit_vectoriel">produit croisé</a> d'une matrice ou d'un vecteur avec cette matrice
</p><p><small><b>Returns</b>:</small> une Matrice
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b>rotateX</b></big> ( <i>Float(radians)</i> )</div>
<div class="description">
<p><small><b>Description</b>:</small> fait faire une <a rel="nofollow" class="external text" href="http://http://fr.wikipedia.org/wiki/Rotation_affine">rotation</a> à cette matrice autour de X
</p><p><small><b>Returns</b>:</small> rien.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b>rotateY</b></big> ( <i>Float(radians)</i> )</div>
<div class="description">
<p><small><b>Description</b>:</small> fait faire une <a rel="nofollow" class="external text" href="http://http://fr.wikipedia.org/wiki/Rotation_affine">rotation</a> à cette matrice autour de Y
</p><p><small><b>Returns</b>:</small> rien.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b>rotateZ</b></big> ( <i>Float(radians)</i> )</div>
<div class="description">
<p><small><b>Description</b>:</small> fait faire une <a rel="nofollow" class="external text" href="http://http://fr.wikipedia.org/wiki/Rotation_affine">rotation</a> à cette matrice autour de Z
</p><p><small><b>Returns</b>:</small> rien.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b>scale</b></big> ( <i>Vector</i> )</div>
<div class="description">
<p><small><b>Description</b>:</small> fait un changement <a rel="nofollow" class="external text" href="http://en.wikipedia.org/wiki/Scaling_matrix">d'échelle </a>à cette matrice
</p><p><small><b>Returns</b>:</small> rien.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b>transform</b></big> ( <i>Vector, Matrix</i> )</div>
<div class="description">
<p><small><b>Description</b>:</small> Fait à cette matrice une <a rel="nofollow" class="external text" href="http://fr.wikipedia.org/wiki/Matrice_d%27une_application_lin%C3%A9aire">transformation </a> basée sur Vecteur et Matrice
</p><p><small><b>Returns</b>:</small> rien.
</p>
</div>
</div>
<p><br />
</p>
<div class="api">
<div class="function"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Method.png" class="image"><img alt="Method.png" src="Method.png" width="16" height="16" /></a> <big><b>unity</b></big> ( <i> </i> )</div>
<div class="description">
<p><small><b>Description</b>:</small> Faire de cette matrice la <a rel="nofollow" class="external text" href="http://fr.wikipedia.org/wiki/Matrice_identit%C3%A9">matrice unité</a>
</p><p><small><b>Returns</b>:</small> rien.
</p>
</div>
</div>
<div style="clear:both"></div>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Matrix_API/fr&amp;oldid=152704">http://www.freecadweb.org/wiki/index.php?title=Matrix_API/fr&amp;oldid=152704</a>"</div>
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
</div>
</div>
<div id="mw-navigation">
<h2>Navigation menu</h2>
</body></html>