gcoofT
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - User interface
Introduced first in SolidGeometry 5.0, Creation date: 2020-09-23, Last change: 2025-09-14
returns the crossing points in the current set of graphics objects
Description
This function replaces ginput(1) called before select3D
See Also: select3D
Example Illustration
Syntax
[gcoT,cpa,dta]=gcoofT([cax,T,allh])
Input Parameter
cax: | | current axes; default is gca |
T: | | Frame of View direction; default is Tofcam |
allh: | | if true all crossed objects are returned |
Output Parameter
gcoT: | | gra[hics object handle, sorted by distance from T |
cpa: | | crossing point (list) |
dta: | | distance point (list) |
Examples
SGsurfaces(SGcolorsample); % just plot something on the screen
gcoofT('','',true)
SGsurfaces(SGcolorsample); % just plot something on the screen
gcoofT('','')
SGsurfaces(SGcolorsample); % just plot something on the screen
[h,cp]=gcoofT;
select3d(h,cp) % call select3d by a crossing point
Copyright 2020-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