Syntax
[S,rs,Sall,PSall,dw]=center4Pose([A,B,k,dall,wall,CPL]);
Input Parameter
A : | | List of at least 3 points that define a pose |
B : | | List of at least 3 points that define a direction in combination with A |
k : | | list of checking values for a point along the line A+k*(B-A)/|(B-A)| |
dall : | | displacement orthogonal to pose line; default is 0 |
wall : | | turning angle of the pose relative to pose; default is 0; |
CPL : | | Optional area for solutions |
Output Parameter
S : | | [k C r d w] |
rs : | | real solutions if CPL is used |
Sall : | | All Solutions S=Sall(rs,:) |
PSall : | | All Poses |
dw : | | |
Examples
PS=Posesample(7), center3Pose(PS.A,PS.B,[-20:20])
PS=Posesample(10), center3Pose(PS.A,PS.B,[-20:20])
PS=Posesample(10), center4Pose(PS.A,PS.B,[-20:20])
PS=Posesample(10); PS.B(4,:)=PS.B(4,:)+[0 0]; SGfigure; Poseplot(PS);
center4Pose(PS.A,PS.B,[-200:.1:200]); axis([-10 40 -20 20])
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