point_on_line.htm

来自「Matlab实现光线跟踪算法」· HTM 代码 · 共 55 行

HTM
55
字号
<HTML>                                              <HEAD>                                                <TITLE>/</TITLE>                                    <META NAME="GENERATOR" CONTENT="HTML-TOOLBOX ">   </HEAD>                                             <BODY bgcolor="#FFFFF0"> <HR WIDTH="100%"></P> <CENTER><P><FONT COLOR="#000000"><FONT SIZE=+3>Cross-linked m-file</FONT></FONT></P></CENTER> <CENTER><P><FONT COLOR="#000000"><FONT SIZE=+1></FONT></FONT></P></CENTER> <CENTER><P><FONT COLOR="#000000"><FONT SIZE=+2>point_on_line.m</FONT></FONT></P></CENTER> <CENTER><P><FONT COLOR="#000000"><FONT SIZE=+1>Located in:</FONT></FONT></P></CENTER> <CENTER><P><FONT COLOR="#000000"><FONT SIZE=+1>/home/bjorn/matlab/Optical_bench</FONT></FONT></P></CENTER> <P><HR WIDTH="100%"></P> <P><FONT COLOR="#000000"><FONT SIZE=+2>Function synopsis</FONT></FONT></P> <P><FONT COLOR="#000000"><FONT SIZE=+1> [r_out] = poin_on_line(r_0,e_l,l);                                                                                                                  </FONT></FONT></P> <P><HR WIDTH="100%"></P> <P><FONT COLOR="#000000"><FONT SIZE=+2>Function comments</FONT></FONT></P> <pre> % % POINT_ON_LINE calculates the vector to a point % R_OUT that are L away from R_0 in the direction % E_L. </pre> <P><HR WIDTH="100%"></P> <P><FONT COLOR="#000000"><FONT SIZE=+1>m-files that call point_on_line.m</FONT></FONT></P> <UL> <LI><A HREF ="opt_intersection.htm">opt_intersection</A></LI> <LI><A HREF ="opt_fcn.htm">opt_fcn</A></LI> </UL> <P><HR WIDTH="100%"></P> <P><FONT COLOR="#000000"><FONT SIZE=+1>All the cross references in the source m-code of point_on_line.m</FONT></FONT></P> <pre> function  [r_out] = point_on_line(r_0,e_l,l); % [r_out] = poin_on_line(r_0,e_l,l); % % POINT_ON_LINE calculates the vector to a point % R_OUT that are L away from R_0 in the direction % E_L.  %       Bjorn Gustavsson %	Copyright (c) 1997 by Bjorn Gustavsson %	$Revision: 1.1 $  $Date: 1997/12/17 15:08:28 $  % %       $Log: point_on_line.m,v $ %       Revision 1.1  1997/12/17 15:08:28  bjorn %       Initial revision %  r_out = r_0+l*e_l; </pre> <P><HR WIDTH="100%"></P> <P><I><FONT COLOR="#0000FF"><FONT SIZE=+1>Written by  B. Gustavsson 13:27 29/1 2003 <IMG SRC = "file:/home/bjorn/matlab/Local/Tools/htmltool/gifs/copyright.gif" ></FONT></FONT></I></P> <P><I><FONT COLOR="#0000FF"><FONT SIZE=+1>E-mail:</B><A HREF = "mailto:bjorn@irf.se">bjorn@irf.se</A></H4></FONT></FONT></I></P> 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?