CREATEEDGE3D Create an edge between two 3D points, or from a 3D line. E = createEdge3d(P1, P2) Creates the 3D edge joining the two points P1 and P2. E = createEdge3d(LIN) Creates the 3D edge with same origin and same direction vector as the 3D line LIN. Example p1 = [1 1 1]; p2 = [3 4 5]; edge = createEdge3d(p1, p2); edgeLength3d(edge) ans = 5.3852 See also edges3d, drawEdge3d, clipEdge3d, edgelength3d
Package: matgeom