by MATLAB-CENTRAL, SG-Lib Toolbox: SolidGeometry 5.6 - Visualization
, Creation date: 2012-06-06, Last change: 2025-09-14
See Also: select3dofcam
, selectV3d
, pixelofaxis
, SGfigure
[pout,vout,viout,facevout,faceiout,axchild]=select3d([obj,ppp])
obj: | Graphics Object: default is gco | |
ppp: | optional point in picture |
pout: | point | |
vout: | next vertex | |
viout: | vertex list index | |
facevout: | touched facet in coordinates | |
faceiout: | facet list index | |
axchild: | touched child handle |
[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