PosetransT

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 4Bar/Linkages
Introduced first in SolidGeometry 5.1, Creation date: 2022-01-27, Last change: 2025-09-15

transform the pose vectors in a Pose struct

Description

This function just transforms the direction of a pose: Start and end points A and B
Poseflip = just flips A and B
PosetransT = just transforms A and B
PosetransrelCPLE= transforms the pose vectors and CPLE without changes


See Also: PosetransrelCPLE , Poseflip

Example Illustration

 missing image of PosetransT(PS,nn,T,rel)

Syntax

PS=PosetransT(PS,[nn,T,rel])

Input Parameter

PS: Pose struct with A and B fields to describe Poses
nn: list of poses to flip; default is all
T: Transformation matrix
rel: if true; T is not rel [0 0] but the origin of the pose; default is false

Output Parameter

PS: Modified Pose strcut (just A and B are changed)

Examples


Posesample(17);PS=ans;
PosetransT(PS,'',TofR(pi/3)) % Be aware what happend with the contour of the effector CPLE
PosetransrelCPLE(PS,TofR(pi/3))% The position of CPLE does not change in space
PosetransT(PS,2,TofR(pi/3)) % Be aware what happend with the Contour of the Eeffector CPLE
PosetransT(PS,2,TofR(pi/3),true) % Be aware what happend with the Contour of the Eeffector CPLE




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