VLtransT

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Spatial Relations
Introduced first in SolidGeometry 1.0, Creation date: 2010-11-13, Last change: 2025-09-14

returns a transformed Vertex list

Description

Tim C. Lueth, Franz Irlinger: "Berechnete Erzeugung von dreidimensionalen Oberflächenmodellen im STL-Format aus der Beschreibung planarer Mechanismen für die Generative Fertigung durch Selektives-Lasersintern [Computational 3D Surface Generation of Planar Mechanismus using STL File Format for Generative Manufacturing by Selective Laser Sintering]", angenommener Beitrag im Konferenzband 10. Kolloquium Getriebetechnik, TU Ilmenau, Sep. 11-13, 2013, pp 1-18.

See Also: VLtransT , VLtransP , VLtrans1 , VLtrans0 , VLtransR , VLtrans , VLtransN

Example Illustration

 missing image of VLtransT(VL,T)

Syntax

VLT=VLtransT(VL,T)

Input Parameter

VL: Vertex list n x 3
T: Transformation matrix 4 x 4

Output Parameter

VLT: Tranformed vertex list




Copyright 2010-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

Algorithm (Workflow)

This function, VLtransT, transforms a list of vertices using a homogeneous transformation matrix. It is part of the SG-Library and was introduced in SolidGeometry 1.0.

Input Parameters

Output

Algorithm Steps

  1. Check if the input vertex list VL1 has two columns. If so, add a third column with zeros to represent the z-coordinate. This ensures that all vertices are in 3D space.
  2. Determine the number of vertices, n, in VL1.
  3. If VL1 is empty, return an empty matrix VL.
  4. Initialize an empty matrix VL with dimensions n x 3 to store the transformed vertices.
  5. Iterate over each vertex in VL1:
  6. If no output argument is specified, plot the transformed vertices using SGfigure and VLplot.
Algorithm explaination created using ChatGPT on 2025-08-18 23:06. (Please note: No guarantee for the correctness of this explanation)

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