Rofez

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analytical Geometry
Introduced first in SolidGeometry 4.2, Creation date: 2018-07-23, Last change: 2025-09-14

returns a rotation matrix based on a list of ez vector

Description

could be improved in combination with VLedgeNormal

See Also: VLedgeNormal

Example Illustration

 missing image of Rofez(ezz,ystab)

Syntax

R=Rofez(ezz,[ystab])

Input Parameter

ezz: ez vector or list of ez vectors
ystab: true== fix y-axis; false== fix x-axis; default is true;

Output Parameter

R: Rotation matrix or vector of rotation matrices

Examples


Rofez([0 0 1]
Rofez([0 0 1;0 0 -1])
Rofez(VLhelix(10,10))




Copyright 2018-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21