isincirclesegment
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analytical Geometry
Introduced first in SolidGeometry 4.5, Creation date: 2019-02-04, Last change: 2025-09-14
returns whether an angle or a angle list is inside an angle interval
Description
frustrating testing lead to this ugly function.......
See Also: , CPLcrosscircseg
, angleshift
, angleinterv
, cplot
Example Illustration
Syntax
ins=isincirclesegment(cseg,WL)
Input Parameter
cseg: | | angle interval; second values must be larger than first value |
WL: | | angle list |
Output Parameter
ins: | | logical table which angle is inside |
Examples
a=randminv([0-2*pi 2*pi]); isincirclesegment ([a a+randminv([0 2*pi])],randminv(10,1,[-pi pi]));
a=randminv([0-2*pi 2*pi]); wlim=[a a+randminv([0 2*pi])], isincirclesegment (wlim,[randminv(10,1,[-pi pi]); wlim']);
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