TofPose

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 4Bar/Linkages
Introduced first in SolidGeometry 4.4, Creation date: 2019-01-05, Last change: 2025-09-14

returns 3x3 HT matrices for planar transformation in 2D from pose list

Description

Powerful planar function to create either a HT matrix from two points or a list of HT matrixes from a list of points or from a Pose struct PS.A, PS.B.
TofPose - Frame of A1 from Point A1 and B1
TofPoseGPL - Frames of A1 and B1 from Pose and GPL
TofA1B1GPL - Frame of Pose from A1 and B1 and GPL
TofPoseattachmentpoints - Frames of B1 and A1 from Pose qnd Points A1 and B1


See Also: TofPoseattachmentpoints , Posesample , Poseplot , Posenorm , Poseui , center3Pose , checkfourbar3Pose , poseofPSanalyze

Example Illustration

 missing image of TofPose(AL,BL,ind)

Syntax

TAi=TofPose(AL,[BL,ind])

Input Parameter

AL: Point list [n x 2] for points A or a struct with fields A and B
BL: Point list [n x 2] for points B
ind: selected indices; default is all

Output Parameter

TAi: Transformation Matrix in A for each Pose; ex = B(i,:)-A(i,:); t=A(i,;)

Examples


Pose=Posesample(7), TofPose(Pose.A,Pose.B)
PS.A=PLcircle(10,36); PS.B=PS.A*2; TofPose(PS)




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