CPLcrosscircseg

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 5.1, Creation date: 2021-12-13, Last change: 2025-09-15

fnct to detect crossing segments of a circ line with a CPL

Description

Function to detect crossing angles for crank and follower attchment point path in fourbar linkage design tasks. Resolution is one degree;
Could be speed up by ray beam analysis instead of CPL subtraction

See Also: isincirclesegment , angleshift , angleinterv , cplot , CPLofPLcrossCPL , circlesegmentofPL

Example Illustration

 missing image of CPLcrosscircseg(CPLA,A0,wlim)

Syntax

[wlim,winv]=CPLcrosscircseg([CPLA,A0,wlim])

Input Parameter

CPLA: CPL of restricted Area
A0: Center of circular movement
wlim: angle interval of circular movement; default is [0 2*pi]

Output Parameter

wlim: list of crossed angle segments (right hand)
winv: inverse angle segments of wlim (right hand)

Examples


CPLcrosscircseg(CPLsample(3),[0 10 4 0.1]) % A0=[0 10] r=4; d=0.1
CPLcrosscircseg(CPLsample(3),[0 10 4 0.1],[1.2*pi,2.4*pi]) % A0=[0 10] r=4; d=0.1
CPLcrosscircseg(CPLsample(3),[0 -6 4 0.1],[1.2*pi,2.4*pi]) % A0=[0 10] r=4; d=0.1
CPLcrosscircseg(CPLsample(3),[6 0 4 0.1],[1.2*pi,2.4*pi]) % A0=[0 10] r=4; d=0.1
CPLcrosscircseg(CPLsample(3),[5 -6 4 0.1],[1.2*pi,2.9*pi]+pi/6)




Copyright 2021-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