Benutzer-Werkzeuge

Webseiten-Werkzeuge


modellingcomponents:functions

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
modellingcomponents:functions [2021/07/08 09:49] – [mdhO()] olivermodellingcomponents:functions [2021/09/29 08:49] – [z()] oliver
Zeile 309: Zeile 309:
 If the argument is a tuple with 3 elements, it is interpreted as a vector and the result is the normalized vector (length of the vector is set to 1). If the argument is a tuple with 3 elements, it is interpreted as a vector and the result is the normalized vector (length of the vector is set to 1).
  
-^ Argument  Result +^ Argument ^ Type ^ Description
-| 3d vector | real |+^ 1 | 3d vector | Normalize the vector. |
  
 ==== mid() ==== ==== mid() ====
Zeile 317: Zeile 317:
  
 Extracts the x/first-component of a 3d-vector. Extracts the x/first-component of a 3d-vector.
 +
 +^ Argument ^ Type ^ Description^
 +^ 1 | 3d vector | extracts the x-component auf a 3d vector. |
  
  
 ==== y() ==== ==== y() ====
 +
 +^ Argument ^ Type ^ Description^
 +^ 1 | 3d vector | extracts the y-component auf a 3d vector. |
 ==== z() ==== ==== z() ====
 +
 +^ Argument ^ Type ^ Description^
 +^ 1 | 3d vector | extracts the z-component auf a 3d vector. |
 ==== q() ==== ==== q() ====
 Create a quaternion from 4 double values. Create a quaternion from 4 double values.
Zeile 479: Zeile 488:
 ==== t() ==== ==== t() ====
 ==== mat4() ==== ==== mat4() ====
 +
 +==== R() ====
 +
 +Get a double component from a matrix defined by row and column index.
 +
 +**Arguments:**
 +
 +^ Argument ^ Type ^ Description ^
 +^ 1 | MATRIX_3X3D | Matrix to get double components from. |
 +^ 2 | INTEGER| row [0|1|2] |
 +^ 3 | INTEGER| column [0|1|2] |
 +
 +<code>
 +   R(TCPQ,0,1,2)
 +</code> 
 ===== Robotics functions ===== ===== Robotics functions =====
 ==== mdho() ==== ==== mdho() ====
modellingcomponents/functions.txt · Zuletzt geändert: 2021/11/09 11:22 von oliver

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki