Syntax
[K,D,W]=KDWofXY(A1,B1,[TP])
Input Parameter
A1 : | | Point of attachment point A1 wrt to origin |
B1 : | | Point of attachment point B1 wrt to origin |
TP : | | Optional Pose Coordinate System wrt to Origin; default is origin; eye(4); |
Output Parameter
K : | | distance of A1 and B1 along the origin of a straight line |
D : | | displacement of the line wrt to the origin |
W : | | turning angle of the line relative to x-axis |
Examples
KDWofXY([1 0],[0 1]); [K,D,W]=KDWofXY([1 0],[0 1])
KDWofXY([0 1],[1 0]); [K,D,W]=KDWofXY([0 1],[1 0])
KDWofXY([1 0],[0 1],TofR(rot(pi/2),[0 0]))
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