textT

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analytical Geometry
Introduced first in SolidGeometry 1.1, Creation date: 2013-06-16, Last change: 2025-09-14

drawn a text at the position of a HT matrix

Description

uses only the translation vector of T = T(1:3,4);


See Also: textP , textVL , textCVL , textVLFL

Example Illustration

 missing image of textT (T,TStr,c,s)

Syntax

textT(T,TStr,[c,s])

Input Parameter

T: T matrix
TStr: Text string
c: color
s: font size




Copyright 2013-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, textT, is designed to display text at a specific position defined by a homogeneous transformation (HT) matrix. It is part of the SolidGeometry library and was created by Tim Lueth.

Input Parameters

Algorithm Steps

  1. The function begins by extracting the input parameters using the helper function getfuncparams. It assigns default values if optional parameters are not provided.
  2. The variable To is initialized with the value of TStr.
  3. The function determines the number of transformation matrices, n, by checking the third dimension of T.
  4. An empty array ha is initialized to store handles to the text objects created.
  5. A loop iterates over each transformation matrix (from 1 to n):
  6. The function returns the array ha, which contains handles to all the text objects created.
Algorithm explaination created using ChatGPT on 2025-08-18 23:12. (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