Home > matGeom > geom3d > parallelLine3d.m

parallelLine3d

PURPOSE ^

PARALLELLINE3D Create 3D line parallel to another one.

SYNOPSIS ^

function res = parallelLine3d(line, point)

DESCRIPTION ^

PARALLELLINE3D  Create 3D line parallel to another one.

   L2 = parallelLine3d(L, P)
   Creates the 3D line L2, parallel to the line L, and containing the
   point P.

   Example

   See also
   geom3d, parallelLine, parallelPlane

 ------
 Author: David Legland
 e-mail: david.legland@grignon.inra.fr
 Created: 2012-08-23,    using Matlab 7.9.0.529 (R2009b)
 Copyright 2012 INRA - Cepia Software Platform.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function res = parallelLine3d(line, point)
0002 %PARALLELLINE3D  Create 3D line parallel to another one.
0003 %
0004 %   L2 = parallelLine3d(L, P)
0005 %   Creates the 3D line L2, parallel to the line L, and containing the
0006 %   point P.
0007 %
0008 %   Example
0009 %
0010 %   See also
0011 %   geom3d, parallelLine, parallelPlane
0012 %
0013 % ------
0014 % Author: David Legland
0015 % e-mail: david.legland@grignon.inra.fr
0016 % Created: 2012-08-23,    using Matlab 7.9.0.529 (R2009b)
0017 % Copyright 2012 INRA - Cepia Software Platform.
0018 
0019 res = [point line(:, 4:6)];

Generated on Wed 16-Feb-2022 15:10:47 by m2html © 2003-2019