Syntax
[wres,s,WL,ord,PL1,PL2]=checkfourbarsegment([l1,l2,r,A0,PL,na])
Input Parameter
l1 : | | l1 of swing arm |
l2 : | | l2 of swing arm |
r : | | r of crank |
A0 : | | Distance or A0 or [A0;B0] |
PL : | | Points list to check or Pose with field A for PL |
na : | | number of points for plotting contours PL1 and PL2 |
Property names
'silent' : if used, there will be no singularity warning
Output Parameter
wres : | | false or empty or [seg_min seg_max] or [seg1_min seg1_max seg_2min seg_2max] |
s : | | list of angle segment per point zero, one or two |
WL : | | angles of Points |
ord : | | order of points |
PL1 : | | PLR-CYAN CONTOUR Point list for rotation of complete segment 1 (blue, cyan) |
PL2 : | | PLR=YELL CONTOUR Point list for rotation of complete segment 2 (yellow) |
Examples
checkfourbarsegment(40,10,30,30,randminv(10,2,[-1 1])+[-30 0]);
close all; checkfourbarsegment(40,10,30,30,1000*randminv(50,2,[-1 1])+[-30 0])
close all; [a,b]=checkfourbarsegment(40,10,30,30,randminv(10,2,[-1 1])+[-30 0])
testfunctTL('checkfourbarsegment(60,40,51,[0 0;#1 #2])',[-50 0 +50],[-50 0 +50]);
testfunctTL('checkfourbarsegment(60,40,200,[#1 #2;0 0])',[-95 10 +95],[-95 10 +95]);
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