<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JCC</journal-id><journal-title-group><journal-title>Journal of Computer and Communications</journal-title></journal-title-group><issn pub-type="epub">2327-5219</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jcc.2016.44011</article-id><article-id pub-id-type="publisher-id">JCC-65798</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  The Analytical Expressions for Computing the Minimum Distance between a Point and a Torus
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>iaowu</surname><given-names>Li</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Linke</surname><given-names>Hou</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Juan</surname><given-names>Liang</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Zhinan</surname><given-names>Wu</given-names></name><xref ref-type="aff" rid="aff4"><sup>4</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Lin</surname><given-names>Wang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Chunguang</surname><given-names>Yue</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff3"><addr-line>Department of Science, Taiyuan Institute of Technology, Taiyuan, China</addr-line></aff><aff id="aff4"><addr-line>School of Mathematics and Computer Science, Yichun University, Yichun, China</addr-line></aff><aff id="aff2"><addr-line>Center for Economic Research, Shandong University, Jinan, China</addr-line></aff><aff id="aff1"><addr-line>College of Information Engineering, Guizhou Minzu University, Guiyang, China</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>lixiaowu002@126.c0om(IL)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>18</day><month>03</month><year>2016</year></pub-date><volume>04</volume><issue>04</issue><fpage>125</fpage><lpage>133</lpage><history><date date-type="received"><day>2</day>	<month>March</month>	<year>2016</year></date><date date-type="rev-recd"><day>accepted</day>	<month>19</month>	<year>April</year>	</date><date date-type="accepted"><day>22</day>	<month>April</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  In this paper, we present the analytical expressions for computing the minimum distance between a point and a torus, which is called the orthogonal projection point problem. If the test point is on the outside of the torus and the test point is at the center axis of the torus, we present that the orthogonal projection point set is a circle perpendicular to the center axis of the torus; if not, the analytical expression for the orthogonal projection point problem is also given. Furthermore, if the test point is in the inside of the torus, we also give the corresponding analytical expression for orthogonal projection point for two cases.
 
</p></abstract><kwd-group><kwd>Point Projection</kwd><kwd> Center Axis of the Torus</kwd><kwd> Major Planar Circle</kwd><kwd> Minor Planar Circle</kwd><kwd> Intersection</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>In this paper, we discuss how to compute the minimum distance between a point and a spatial parametric surface and to return the nearest point on the surface as well as its corresponding parameter, which is also called the point projection problem (the point inversion problem) of a spatial parametric surface. It is very interesting for this problem due to its importance in geometric modeling, computer graphics and computer vision [<xref ref-type="bibr" rid="scirp.65798-ref1">1</xref>] . Both projection and inversion are essential for interactively selecting surfaces [<xref ref-type="bibr" rid="scirp.65798-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.65798-ref2">2</xref>] , for the surface fitting problem [<xref ref-type="bibr" rid="scirp.65798-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.65798-ref2">2</xref>] , for the reconstructing surfaces problem [<xref ref-type="bibr" rid="scirp.65798-ref3">3</xref>] - [<xref ref-type="bibr" rid="scirp.65798-ref5">5</xref>] . It is also a key issue in the ICP iterative close for construction and rendering of solid models with boundary representation, projecting of a space curve onto a surface for curve surface design [<xref ref-type="bibr" rid="scirp.65798-ref6">6</xref>] . Many algorithms have been developed by using various techniques including turning into solving a root problem of a polynomial equations, geometric methods, subdivision methods, circular clipping algorithm. For more details, see [<xref ref-type="bibr" rid="scirp.65798-ref1">1</xref>] - [<xref ref-type="bibr" rid="scirp.65798-ref23">23</xref>] and the references therein.</p><p>In the various methods mentioned above, all the iterative processes can produce one iterative solution. Different from the above methods, we consider the special situation which the test point have countless corresponding solutions for the orthogonal projection problem. We present the analytical expression for computing the minimum distance between a point and a torus. If the test point is on the outside of the torus and the test point is at the center axis of the the torus, we know that the orthogonal projection point set is a circle which is perpendicular to the center axis of the torus; If not, the analytical expression for the orthogonal projection point problem is also given. In addition, if the test point is in the inside of the torus and is on the major planar circle, then the corresponding analytical expression for orthogonal projection point set is minor planar circle. Moreover, if the test point is in the inside of the torus and is not on the major planar circle, we also present the corresponding analytical expression for orthogonal projection point of the test point.</p></sec><sec id="s2"><title>2. Computing the Minimum Distance between a Point and a Torus</title><sec id="s2_1"><title>2.1. Test Point Being on the Outside of the Torus</title><p>The torus <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x7.png" xlink:type="simple"/></inline-formula> can be defined as</p><disp-formula id="scirp.65798-formula534"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x8.png"  xlink:type="simple"/></disp-formula><p>in<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x9.png" xlink:type="simple"/></inline-formula>, where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x10.png" xlink:type="simple"/></inline-formula>. In this subsection, we suppose that test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x11.png" xlink:type="simple"/></inline-formula> is on the outside of the torus, namely,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x12.png" xlink:type="simple"/></inline-formula>. It denotes that the center axis of the torus is the z-axis, the center point is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x13.png" xlink:type="simple"/></inline-formula>.</p><p>Firstly, we deal with the first kind of circumstance which the test point is on the center axis of the torus <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x14.png" xlink:type="simple"/></inline-formula> , namely the test point’s coordinate is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x15.png" xlink:type="simple"/></inline-formula>. Projecting a test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x16.png" xlink:type="simple"/></inline-formula> onto a torus surface <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x17.png" xlink:type="simple"/></inline-formula> can be done as follows. Major planar circle is defined as</p><disp-formula id="scirp.65798-formula535"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x18.png"  xlink:type="simple"/></disp-formula><p>Assume that the coordinates of arbitrary point of major planar circle is <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x19.png" xlink:type="simple"/></inline-formula> which is satisfied</p><disp-formula id="scirp.65798-formula536"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x20.png"  xlink:type="simple"/></disp-formula><p>It is not difficult to find that line segment <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x21.png" xlink:type="simple"/></inline-formula> determined by test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x22.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x23.png" xlink:type="simple"/></inline-formula> is perpendicular to the torus. So the intersection of line segment <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x24.png" xlink:type="simple"/></inline-formula> and torus <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x25.png" xlink:type="simple"/></inline-formula> is the minimum distance between test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x26.png" xlink:type="simple"/></inline-formula> and torus<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x27.png" xlink:type="simple"/></inline-formula>. We can know that parametric equation of the line segment <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x28.png" xlink:type="simple"/></inline-formula> is</p><disp-formula id="scirp.65798-formula537"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x29.png"  xlink:type="simple"/></disp-formula><p>From (1) and (4), we get that the corresponding parameter value of intersection of parametric equation for the line segment <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x30.png" xlink:type="simple"/></inline-formula> and the torus <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x31.png" xlink:type="simple"/></inline-formula> is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x32.png" xlink:type="simple"/></inline-formula>. Then the intersection of the line segment <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x33.png" xlink:type="simple"/></inline-formula> and the torus <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x34.png" xlink:type="simple"/></inline-formula> is</p><disp-formula id="scirp.65798-formula538"><graphic  xlink:href="http://html.scirp.org/file/11-1730359x35.png"  xlink:type="simple"/></disp-formula><p>or another form</p><disp-formula id="scirp.65798-formula539"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x36.png"  xlink:type="simple"/></disp-formula><p>By (3) and (5), we obtain</p><disp-formula id="scirp.65798-formula540"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x37.png"  xlink:type="simple"/></disp-formula><p>In the case of the test point being at the center axis of the torus, Formula (6) indicates that the corresponding orthogonal projection point set of the test point is a circle which parallels to major planar circle (see <xref ref-type="fig" rid="fig1">Figure 1</xref>).</p><p>In the following content, we try to discuss the second orthogonal projection case which test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x38.png" xlink:type="simple"/></inline-formula> is not on the center axis of the torus. This means that neither of the first and second coordinates of the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x39.png" xlink:type="simple"/></inline-formula> are zero. In order to compute the minimum distance between the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x40.png" xlink:type="simple"/></inline-formula> and the torus<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x41.png" xlink:type="simple"/></inline-formula>, we define a plane <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x42.png" xlink:type="simple"/></inline-formula> which passes through the central axis or the z-axis and a line which is determined by the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x43.png" xlink:type="simple"/></inline-formula> and the central point<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x44.png" xlink:type="simple"/></inline-formula>. So the minimum distance between test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x45.png" xlink:type="simple"/></inline-formula> and the torus is the intersection between the orthogonal projection line and the torus<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x46.png" xlink:type="simple"/></inline-formula>. In the following, we intend to compute the minimum distance between test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x47.png" xlink:type="simple"/></inline-formula> and torus <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x48.png" xlink:type="simple"/></inline-formula> according to this idea. We deduce that the general plane equation <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x49.png" xlink:type="simple"/></inline-formula> passing through the z-axis is</p><disp-formula id="scirp.65798-formula541"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x50.png"  xlink:type="simple"/></disp-formula><p>From (2) and (7), we obtain that the corresponding intersection of the plane <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x51.png" xlink:type="simple"/></inline-formula> and major planar circle of</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> In the case of the test point being on the center axis of the torus, the corresponding orthogonal projection point set is a circle perpendicular to the center axis of the torus</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/11-1730359x52.png"/></fig><p>the torus is <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x53.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x54.png" xlink:type="simple"/></inline-formula>. If the intersection of the plane <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x55.png" xlink:type="simple"/></inline-formula> and major planar circle of the torus is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x56.png" xlink:type="simple"/></inline-formula>, then the corresponding vector between this intersection and test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x57.png" xlink:type="simple"/></inline-formula> is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x58.png" xlink:type="simple"/></inline-formula>. Furthermore the parameter equation of the line segment <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x59.png" xlink:type="simple"/></inline-formula> determined by the intersection <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x60.png" xlink:type="simple"/></inline-formula> and test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x61.png" xlink:type="simple"/></inline-formula> is</p><disp-formula id="scirp.65798-formula542"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x62.png"  xlink:type="simple"/></disp-formula><p>And because the intersections of the torus <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x63.png" xlink:type="simple"/></inline-formula> and the plane <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x64.png" xlink:type="simple"/></inline-formula> is the following first minor planar circle <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x65.png" xlink:type="simple"/></inline-formula></p><disp-formula id="scirp.65798-formula543"><label>(9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x66.png"  xlink:type="simple"/></disp-formula><p>by (8) and (9), the corresponding parameter value of intersection of the line segment <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x67.png" xlink:type="simple"/></inline-formula> and the minor planar circle <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x68.png" xlink:type="simple"/></inline-formula> is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x69.png" xlink:type="simple"/></inline-formula>. Substituting this parameter value into (8), we obtain the intersection <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x70.png" xlink:type="simple"/></inline-formula> where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x71.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x72.png" xlink:type="simple"/></inline-formula>. If the intersection of the plane <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x73.png" xlink:type="simple"/></inline-formula> and the major planar circle of the torus is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x74.png" xlink:type="simple"/></inline-formula>, then the corresponding vector between this intersection <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x75.png" xlink:type="simple"/></inline-formula> and the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x76.png" xlink:type="simple"/></inline-formula> is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x77.png" xlink:type="simple"/></inline-formula>. Furthermore the parameter equation of the line segment <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x78.png" xlink:type="simple"/></inline-formula> determined by the intersection <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x79.png" xlink:type="simple"/></inline-formula> and the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x79.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x80.png" xlink:type="simple"/></inline-formula> is</p><disp-formula id="scirp.65798-formula544"><label>(10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x81.png"  xlink:type="simple"/></disp-formula><p>Because the intersections of the torus <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x82.png" xlink:type="simple"/></inline-formula> and the plane <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x83.png" xlink:type="simple"/></inline-formula> is the following second minor planar circle <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x84.png" xlink:type="simple"/></inline-formula></p><disp-formula id="scirp.65798-formula545"><label>(11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x85.png"  xlink:type="simple"/></disp-formula><p>from (10) and (11), the intersection parameter of the line segment <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x86.png" xlink:type="simple"/></inline-formula> and the second minor planar circle <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x87.png" xlink:type="simple"/></inline-formula> is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x88.png" xlink:type="simple"/></inline-formula>. Substituting this parameter value into (10), we get the second intersection <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x89.png" xlink:type="simple"/></inline-formula> of the segment line <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x90.png" xlink:type="simple"/></inline-formula> and the torus <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x90.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x91.png" xlink:type="simple"/></inline-formula> where</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x92.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x92.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x93.png" xlink:type="simple"/></inline-formula>.</p><p>In the following, we explain that the distance between the intersection <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x94.png" xlink:type="simple"/></inline-formula> and the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x94.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x95.png" xlink:type="simple"/></inline-formula> is the minimum distance. Because the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x94.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x95.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x96.png" xlink:type="simple"/></inline-formula> is at the outside of the torus<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x94.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x95.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x96.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x97.png" xlink:type="simple"/></inline-formula>, so<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x94.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x95.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x96.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x97.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x98.png" xlink:type="simple"/></inline-formula>. It is easy to know that<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x94.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x95.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x96.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x97.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x98.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x99.png" xlink:type="simple"/></inline-formula>. From the two inequalities, we get</p><disp-formula id="scirp.65798-formula546"><graphic  xlink:href="http://html.scirp.org/file/11-1730359x100.png"  xlink:type="simple"/></disp-formula><p>And because of</p><disp-formula id="scirp.65798-formula547"><graphic  xlink:href="http://html.scirp.org/file/11-1730359x101.png"  xlink:type="simple"/></disp-formula><p>so it exists inequality relationship</p><disp-formula id="scirp.65798-formula548"><graphic  xlink:href="http://html.scirp.org/file/11-1730359x102.png"  xlink:type="simple"/></disp-formula><p>This demonstrates that the distance between the second intersection and the test point is longer than the distance between the first intersection and the test point. Thus the distance between the intersection <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x103.png" xlink:type="simple"/></inline-formula> and test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x103.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x104.png" xlink:type="simple"/></inline-formula> is minimum (see <xref ref-type="fig" rid="fig2">Figure 2</xref>).</p><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> In the case of the test point being not on the center axis of the torus, the corresponding orthogonal projection point of being minimum distance</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/11-1730359x105.png"/></fig><p>Remark 1. If the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x106.png" xlink:type="simple"/></inline-formula> degenerates into the the special point<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x106.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x107.png" xlink:type="simple"/></inline-formula>, then the corresponding orthogonal projection point of the special test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x106.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x107.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x108.png" xlink:type="simple"/></inline-formula> would naturally become point<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x106.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x107.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x108.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x109.png" xlink:type="simple"/></inline-formula>. In the same way, if the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x106.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x107.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x108.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x109.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x110.png" xlink:type="simple"/></inline-formula> degenerates into the the special point<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x106.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x107.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x108.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x109.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x110.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x111.png" xlink:type="simple"/></inline-formula>, then the corresponding orthogonal projection point of the special test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x106.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x107.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x108.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x109.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x110.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x111.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x112.png" xlink:type="simple"/></inline-formula> would also naturally become point<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x106.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x107.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x108.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x109.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x110.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x111.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x112.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x113.png" xlink:type="simple"/></inline-formula>. Of course, if the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x106.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x107.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x108.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x109.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x110.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x111.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x112.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x113.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x114.png" xlink:type="simple"/></inline-formula> is the special point<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x106.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x107.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x108.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x109.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x110.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x111.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x112.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x113.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x114.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x115.png" xlink:type="simple"/></inline-formula>, then the corresponding orthogonal projection point set of the special test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x106.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x107.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x108.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x109.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x110.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x111.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x112.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x113.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x114.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x115.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x116.png" xlink:type="simple"/></inline-formula> would be point set presented by Formula (6). In a word, for any test point being on the outside of the torus, we present the corresponding analytical expressions for the orthogonal projection point or the orthogonal projection point set.</p></sec><sec id="s2_2"><title>2.2. Test Point Being in the Inside of the Torus</title><p>In this subsection, we suppose that test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x117.png" xlink:type="simple"/></inline-formula> is in the inside of the torus, namely, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x117.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x118.png" xlink:type="simple"/></inline-formula>. Firstly, we deal with the first case which the test point is not on the major circle. In fact, analogous to treatment method of the second part content of the second section, it is easy to verify that orthogonal projection point of the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x117.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x118.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x119.png" xlink:type="simple"/></inline-formula> is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x117.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x118.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x119.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x120.png" xlink:type="simple"/></inline-formula>, where</p><disp-formula id="scirp.65798-formula549"><graphic  xlink:href="http://html.scirp.org/file/11-1730359x121.png"  xlink:type="simple"/></disp-formula><p>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x122.png" xlink:type="simple"/></inline-formula> Now we consider the second case which the test point is in the inside of the torus and is on the major planar circle such that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x122.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x123.png" xlink:type="simple"/></inline-formula> Similar to the treatment method of the first part content of second section, it is easy to know that orthogonal projection point set of the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x122.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x123.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x124.png" xlink:type="simple"/></inline-formula> is</p><p>the corresponding minor planer circle. We directly present the corresponding analytical expression according to the test points being at different positions for major planar circle. Since Formula (9) denotes two minor planer circles, in fact, orthogonal projection point set of arbitrary test point being on the major planar circle just only has one minor planar circle. According to this reason, we try to present a unified and concise analytical expression of the only one minor planar circle for arbitrary test point being on the major planar circle. If<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x125.png" xlink:type="simple"/></inline-formula>, then the corresponding orthogonal projection point set of the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x125.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x126.png" xlink:type="simple"/></inline-formula> is minor planer circle</p><disp-formula id="scirp.65798-formula550"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x127.png"  xlink:type="simple"/></disp-formula><p>For more special cases, if test point<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x128.png" xlink:type="simple"/></inline-formula>, then orthogonal projection point set of the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x128.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x129.png" xlink:type="simple"/></inline-formula> is the corresponding minor planer circle</p><disp-formula id="scirp.65798-formula551"><label>(13)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x130.png"  xlink:type="simple"/></disp-formula><p>If test point<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x131.png" xlink:type="simple"/></inline-formula>, then the corresponding orthogonal projection point set of the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x132.png" xlink:type="simple"/></inline-formula> is minor planer circle</p><disp-formula id="scirp.65798-formula552"><label>(14)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x133.png"  xlink:type="simple"/></disp-formula><p>If test point<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x134.png" xlink:type="simple"/></inline-formula>, then the corresponding orthogonal projection point set of the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x134.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x135.png" xlink:type="simple"/></inline-formula> is minor planer circle</p><disp-formula id="scirp.65798-formula553"><label>(15)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x136.png"  xlink:type="simple"/></disp-formula><p>If test point<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x137.png" xlink:type="simple"/></inline-formula>, then the corresponding orthogonal projection point set of the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x137.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x138.png" xlink:type="simple"/></inline-formula> is minor planer circle</p><disp-formula id="scirp.65798-formula554"><label>(16)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/11-1730359x139.png"  xlink:type="simple"/></disp-formula><p>Remark 2. In this subsection, we fully present the corresponding orthogonal projection point or point set of arbitrary test point which is in the inside of the torus, namely, the corresponding analytical expression of orthogonal projection point for the minimum distance between the test point and the torus. If the test point is not on the major planar circle, then the corresponding analytical expression of orthogonal projection point is only one point. If the test point is on the major planar circle, then the corresponding analytical expression of</p><p>orthogonal projection point is minor planar circle. Besides that, if the test point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x140.png" xlink:type="simple"/></inline-formula> satisfies the relationship<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x140.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/11-1730359x141.png" xlink:type="simple"/></inline-formula>, it is obviously easy to know that the test point is on the torus.</p></sec></sec><sec id="s3"><title>3. Conclusion</title><p>This paper investigates the problem related to a point projection on the torus surface. We present the analytical expression for the orthogonal projection of computing the minimum distance between a point and a torus for all kind s of positions. An area for future research is to develop a method for computing the minimum distance between a point and a general completely center symmetrical surface.</p></sec><sec id="s4"><title>Acknowledgements</title><p>We would like to take the opportunity to thank the reviewers for their thoughtful and meaningful comments. This work is supported by the National Natural Science Foundation of China (Grant No. 61263034), the Scientific and Technology Foundation Funded Project of Guizhou Province (Grant No. [<xref ref-type="bibr" rid="scirp.65798-ref2014">2014</xref>]2093), the National Bureau of Statistics Foundation Funded Project (Grant No. 2014LY011), the Key Laboratory of Pattern Recognition and Intelligent System of Construction Project of Guizhou Province (Grant No. [<xref ref-type="bibr" rid="scirp.65798-ref2009">2009</xref>]4002) and the Information Processing and Pattern Recognition for Graduate Education Innovation Base of Guizhou Province. Linke Hou is supported by the Visiting Scholar Program of the Chinese Scholarship Council (Grant No. 201406225058).</p></sec><sec id="s5"><title>Cite this paper</title><p>Xiaowu Li,Linke Hou,Juan Liang,Zhinan Wu,Lin Wang,Chunguang Yue, (2016) The Analytical Expressions for Computing the Minimum Distance between a Point and a Torus. Journal of Computer and Communications,04,125-133. doi: 10.4236/jcc.2016.44011</p></sec><sec id="s6"><title>NOTES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.65798-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Ma, Y.L. and Hewitt, W.T. (2003) Point Inversion and Projection for NURBS Curve and Surface: Control Polygon Approach. Computer Aided Geometric Design, 20, 79-99. http://dx.doi.org/10.1016/S0167-8396(03)00021-9</mixed-citation></ref><ref id="scirp.65798-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Yang, H.P., Wang, W.P. and Sun, J.G. (2004) Control Point Adjustment for B-Spline Curve Approximation. Computer- Aided Design, 36, 639-652. http://dx.doi.org/10.1016/S0010-4485(03)00140-4</mixed-citation></ref><ref id="scirp.65798-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Johnson, D.E. and Cohen, E. (1998) A Framework for Efficient Minimum Distance Computations. Proceedings of IEEE International Conference on Robotics &amp; Automation, Leuven, 16-20 May 1998, 3678-3684. http://dx.doi.org/10.1109/robot.1998.681403</mixed-citation></ref><ref id="scirp.65798-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Piegl, L. and Tiller, W. (2001) Parametrization for Surface Fitting in Reverse Engineering. Computer-Aided Design, 33, 593-603. http://dx.doi.org/10.1016/S0010-4485(00)00103-2</mixed-citation></ref><ref id="scirp.65798-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Pegna, J. and Wolter, F.E. (1996) Surface Curve Design by Orthogonal Projection of Space Curves onto Free-Form Surfaces. Journal of Mechanical Design, 118, 45-52. http://dx.doi.org/10.1115/1.2826855</mixed-citation></ref><ref id="scirp.65798-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Besl, P.J. and McKay, N.D. (1992) A Method for Registration of 3-D Shapes. IEEE Transactions on Pattern Analysis and Machine Intelligence, 14, 239-256. http://dx.doi.org/10.1109/34.121791</mixed-citation></ref><ref id="scirp.65798-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Mortenson, M.E. (1985) Geometric Modeling. Wiley, New York.</mixed-citation></ref><ref id="scirp.65798-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Zhou, J.M., Sherbrooke, E.C. and Patrikalakis, N. (1993) Computation of Stationary Points of Distance Functions. Engineering with Computers, 9, 231-246. http://dx.doi.org/10.1007/BF01201903</mixed-citation></ref><ref id="scirp.65798-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Johnson, D.E. and Cohen, E. (2005) Distance Extrema for Spline Models Using Tangent Cones. Proceedings of the 2005 Conference on Graphics Interface, Victoria, May 9-11, 2005, 3 p.</mixed-citation></ref><ref id="scirp.65798-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Hartmann, E. (1999) On the Curvature of Curves and Surfaces Defined by Normalforms. Computer Aided Geometric Design, 16, 355-376. http://dx.doi.org/10.1016/S0167-8396(99)00003-5</mixed-citation></ref><ref id="scirp.65798-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Limaien, A. and Trochu, F. (1995) Geometric Algorithms for the Intersection of Curves and Surfaces. Computers &amp; Graphics, 19, 391-403. http://dx.doi.org/10.1016/0097-8493(95)00009-2</mixed-citation></ref><ref id="scirp.65798-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Polak, E. and Royset, J.O. (2003) Algorithms with Adaptive Smoothing for Finite Minimax Problems. Journal of Optimization: Theory and Applications, 119, 459-484. http://dx.doi.org/10.1023/B:JOTA.0000006685.60019.3e</mixed-citation></ref><ref id="scirp.65798-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Press, W.H., Teukolsky, S.A., Vetterling, W.T. and Flannery, B.P. (1992) Numerical Recipes in C: The Art of Scientific Computing. 2nd Edition, Cambridge University Press, New York.</mixed-citation></ref><ref id="scirp.65798-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Elber, G. and Kim, M.S. (2001) Geometric Constraint Solver Using Multivariate Rational Spline Functions. Proceedings of the Sixth ACM Symposium on Solid Modeling and Applications, 1-10. http://dx.doi.org/10.1145/376957.376958</mixed-citation></ref><ref id="scirp.65798-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Patrikalakis, N. and Maekawa, T. (2001) Shape Interrogation for Computer Aided Design and Manufacturing. Springer Verlag.</mixed-citation></ref><ref id="scirp.65798-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Chen, X.D., Xu, G., Yong, J.H., Wang, G.Z. and Paul, J.C. (2009) Computing the Minimum Distance between a Point and a Clamped B-Spline Surface. Graphical Models, 71, 107-112. http://dx.doi.org/10.1016/j.gmod.2009.01.001</mixed-citation></ref><ref id="scirp.65798-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Selimovic, I. (2006) Improved Algorithms for the Projection of Points on NURBS Curves and Surfaces. Computer Aided Geometric Design, 23, 439-445. http://dx.doi.org/10.1016/j.cagd.2006.01.007</mixed-citation></ref><ref id="scirp.65798-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Cohen, E., Lyche, T. and Riesebfeld, R. (1980) Discrete B-Splines and Subdivision Techniques in Computer-Aided Geometric Design and Computer Graphics. Computer Graphics and Image Processing, 14, 87-111. http://dx.doi.org/10.1016/0146-664X(80)90040-4</mixed-citation></ref><ref id="scirp.65798-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Piegl, L. and Tiller, W. (1995) The NURBS Book. Springer, New York. http://dx.doi.org/10.1007/978-3-642-97385-7</mixed-citation></ref><ref id="scirp.65798-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Chen, X.D., Yong, J.H., Wang, G.Z., Paul, J.C. and Xu, G. (2008) Computing the Minimum Distance between a Point and a NURBS Curve. Computer-Aided Design, 40, 1051-1054. http://dx.doi.org/10.1016/j.cad.2008.06.008</mixed-citation></ref><ref id="scirp.65798-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Liu, X.-M., Yang, L., Yong, J.-H., Guf, H.-J. and Sun, J.-G. (2009) A Torus Patch Approximation Approach for Point Projection on Surfaces. Computer Aided Geometric Design, 26, 593-598. http://dx.doi.org/10.1016/j.cagd.2009.01.004</mixed-citation></ref><ref id="scirp.65798-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Hu, S.M. and Wallner, J. (2005) A Second Order Algorithm for Orthogonal Projection onto Curves and Surfaces. Computer Aided Geometric Design, 22, 251-260. http://dx.doi.org/10.1016/j.cagd.2004.12.001</mixed-citation></ref><ref id="scirp.65798-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Li, X.W., Xin, Q., Wu, Z.N., Zhang, M.S. and Zhang, Q. (2013) A Geometric Strategy for Computing Intersections of Two Spatial Parametric Curves. The Visual Computer, 29, 1151-1158. http://dx.doi.org/10.1007/s00371-012-0758-0</mixed-citation></ref></ref-list></back></article>