DRAWEDGE3D Draw 3D edge in the current axes. drawEdge3d(EDGE) draws the edge EDGE on the current axis. EDGE has the form: [x1 y1 z1 x2 y2 z2]. No clipping is performed. drawEdge3d(AX,...) plots into AX instead of GCA. H = drawEdge3d(...) returns a handle H to the line object. Example figure; axis equal; view(3) p1 = [10 20 80]; p2 = [80 10 20]; p3 = [20 50 10]; drawEdge3d(gca, [p1;p2],[p2;p3],'b'); drawEdge3d([p1;p3],'k'); pause(1) drawEdge3d(gca, [p1 p2; p2 p3],'g'); drawEdge3d(p1(1), p1(2), p1(3),p3(1), p3(2), p3(3),'Color','r','Marker','x'); See also drawLine3d, clipLine3d, drawEdge --------- author : David Legland INRA - TPV URPOI - BIA IMASTE created the 18/02/2005. HISTORY 04/01/2007 remove unused variables 15/12/2009 "reprecate", and add processing of input arguments
Package: matgeom