Posefourbarsearchcouplercurve

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

selects coupler courves based on the coupler curve

Description

This function is similar to Posefourbarselectcouplercurve bu searches for a fitting contour

See Also: Posefourbarselectui , PosefourbarselectAP , Posefourbarselectcouplercurve

Example Illustration

 missing image of Posefourbarsearchcouplercurve(PS,CPLF,rots,CPLR,CPL1);

Syntax

[PSX,di]=Posefourbarsearchcouplercurve(PS,[CPLF,rots,CPLR,CPL1]);

Input Parameter

PS: Pose struct including CPLE, GPL, GAL
CPLF: Exact contour to fit best.
rots: true = full rotation, false = no rotation, default is both
CPLR: Area for Crank Base Point; default is not limits
CPL1: Area for Swing Base Point; default is CPLR

Output Parameter

PSX: Pose with only the slelected solutions left
di: index list of the solutions in GAL that were selected

Examples


PS=Posesample(12); checkfourbar3Poseattachpermutation(PS,'',20); PS=ans;
Posefourbarsearchcouplercurve(PS,PLsquare(60,4),true); PSX=ans; Posefourbaranimate(PSX,1)
Posefourbarsearchcouplercurve(PS,PLsquare(60,4),true,PLcircle(20)+[15 50]); PSX=ans; Posefourbaranimate(PSX,1)




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