select3d

by MATLAB-CENTRAL, SG-Lib Toolbox: SolidGeometry 5.6 - Visualization
, Creation date: 2012-06-06, Last change: 2025-09-14

Determines the selected point in 3-D data space.



See Also: select3dofcam , selectV3d , pixelofaxis , SGfigure

Example Illustration

 missing image of select3d(obj,ppp)

Syntax

[pout,vout,viout,facevout,faceiout,axchild]=select3d([obj,ppp])

Input Parameter

obj: Graphics Object: default is gco
ppp: optional point in picture

Output Parameter

pout: point
vout: next vertex
viout: vertex list index
facevout: touched facet in coordinates
faceiout: facet list index
axchild: touched child handle

Examples


[VL,FL]=VLFLsample(4); SGfigure(VL,FL); ginput(1), [p,v,vi,f,fi]=select3d
pplot([p],'r.',1); pplot ([v],'b*',2); pplot (VL([FL(fi,:) FL(fi,1)],:)','g-'); rotate3d on

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