KDWofPoseattachments

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

returns the values for K, D, and W for given attachment points

Description

PS.A1 has the format (x y Pose#)
PS.B1 has the format (x y Pose#)


See Also: KDWPosevariation , KDWofXY , TofPoseattachmentpoints , B1ofA1

Example Illustration

 missing image of KDWofPoseattachments(A,B,A1,B1)

Syntax

[K,D,W,err]=KDWofPoseattachments([A,B,A1,B1])

Input Parameter

A: Pose including PS.A, PS.B, PS.A1, PS.B1
B: optional Pose Values for End Points
A1: Attachment Point for A1 [X Y Pose#]
B1: Attachment Point for B1 [X Y Pose#]

Output Parameter

K: [ka kb] on pose line as values relativ distance to pose starting point
D: displacement parallel to pose orientation
W: turning angle BEFORE displacement realtive to origin
err: error value

Examples


PS=Posesample(7); PS.A1=[0 1 1]; PS.B1=[2 1 1];
KDWofPoseattachments(PS); [K,D,W,err]=KDWofPoseattachments(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