Nothing Special   »   [go: up one dir, main page]

Next Article in Journal
An Efficient Decoder for the Recognition of Event-Related Potentials in High-Density MEG Recordings
Previous Article in Journal
Learning Dispatching Rules for Scheduling: A Synergistic View Comprising Decision Trees, Tabu Search and Simulation
You seem to have javascript disabled. Please note that many of the page functionalities won't work as expected without javascript enabled.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Accurate Method for Computing the Minimum Distance between a Point and an Elliptical Torus

1
College of Information Engineering, Guizhou Minzu University, Guiyang 550025, China
2
School of Mathematics and Computer Science, Yichun University, Yichun 336000, China
3
Center for Economic Research, Shandong University, Jinan 250100, China
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Computers 2016, 5(1), 4; https://doi.org/10.3390/computers5010004
Submission received: 20 December 2015 / Revised: 14 February 2016 / Accepted: 16 February 2016 / Published: 24 February 2016

Abstract

:
We present an accurate method to compute the minimum distance between a point and an elliptical torus, which is called the orthogonal projection problem. The basic idea is to transform a geometric problem into finding the unique real solution of a quartic equation, which is fit for orthogonal projection of a point onto the elliptical torus. Firstly, we discuss the corresponding orthogonal projection of a point onto the elliptical torus for test points at six different spatial positions. Secondly, we discuss the same problem for test points on three special positions, e.g., points on the z-axis, the long axis and the minor axis, respectively.

1. Introduction

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. This problem is very interesting due to its importance in geometric modeling, computer graphics and computer vision [1]. Both projection and inversion are essential for interactively selecting surfaces [1,2], for the surface fitting problem [1,2] and for the reconstructing surfaces problem [3,4,5]. It is also a key issue in the ICP (iterative closest point) algorithm for the shape and rendering of solid models with boundary representation [6] and projecting of a space curve onto a surface for curve surface design [7]. Many algorithms have been developed by using various techniques, including turning the problem into solving the root problem of polynomial equations, geometric methods, subdivision methods and the circular clipping algorithm. For more details, see [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30] and the references therein. The elliptical torus in the geodetic science, machinery and machine, biochemistry and biophysics, colloids and interfaces, antennas and propagation and other subjects has certain applications [31,32,33,34,35,36].
In the various methods mentioned above, all of the iterative processes can produce one iterative solution. Different from the above methods, we consider the special situation in which the test point generates countless corresponding solutions for the orthogonal projection problem. We then present an accurate method for computing the minimum distance between a point and an elliptical torus, which is called the orthogonal projection problem. The basic idea is to transform a geometric problem into finding the unique real solution of a quartic equation, which is fit for the orthogonal projection of a point onto the elliptical torus. Firstly, we will discuss the corresponding orthogonal projection of a point onto the elliptical torus for test points at six different spatial positions. Secondly, we will discuss the same problem for test points at three special positions, e.g., points at the z-axis, the long axis and the minor axis, respectively.

2. The Accurate Method for Computing the Minimum Distance between a Point and an Elliptical Torus

The parametric equation of an elliptical torus Γ can be defined as:
x ( u , v ) = ( R + m cos ( v ) ) cos ( u ) y ( u , v ) = ( R + m cos ( v ) ) sin ( u ) , 0 v 2 π , 0 u 2 π z ( u , v ) = n sin ( v )
where R > m > n > 0 . The corresponding implicit function equation of Equation (1) is:
( x 2 + y 2 - R ) 2 m 2 + z 2 n 2 = 1
where R > m > n > 0 . We assume that the test point is ( x 0 , y 0 , z 0 ) . Orthogonally projecting the test point ( x 0 , y 0 , z 0 ) onto the x-y plane, the corresponding projecting point on the x-y plane is ( x 0 , y 0 , 0 ) . It is not difficult to know that the corresponding orthogonal projection point for the minimum distance between point ( x 0 , y 0 , 0 ) and the major planar circle:
x 2 + y 2 = R 2 z = 0
is ( x 1 , y 1 , 0 ) = ( x 0 R x 0 2 + y 0 2 , y 0 R x 0 2 + y 0 2 , 0 ) , which is set as the datum point. The plane determined by the z-axis and the line that passes through the point ( 0 , 0 , 0 ) and the test point ( x 0 , y 0 , z 0 ) is:
x 0 y - y 0 x = 0
It is not difficult to find that the plane Equation (4) is perpendicular to the horizontal tangent vector, which is determined by datum point ( x 1 , y 1 , 0 ) at the major planar circle Equation (3). Therefore, computing the minimum distance between the test point ( x 0 , y 0 , z 0 ) and the elliptical torus Γ is equivalent to computing the minimum distance between the test point ( x 0 , y 0 , z 0 ) and the planar ellipse:
( x 2 + y 2 - R ) 2 m 2 + z 2 n 2 = 1 x 0 y - y 0 x = 0
The corresponding parametric equation of the planar ellipse Equation (5) is:
x = x 0 ( R + m cos ( u ) ) x 0 2 + y 0 2 y = y 0 ( R + m cos ( u ) ) x 0 2 + y 0 2 z = n sin ( u )
Therefore, the problem of finding the minimum distance between the test point ( x 0 , y 0 , z 0 ) and the elliptical torus Γ is naturally transformed into finding the minimum distance between the test point ( x 0 , y 0 , z 0 ) and the planar ellipse Equation (6). The tangent vector at the planar ellipse Equation (6) is:
V 1 = ( - x 0 m sin ( u ) x 0 2 + y 0 2 , - y 0 m sin ( u ) x 0 2 + y 0 2 , n cos ( u ) )
The vector determined by test point ( x 0 , y 0 , z 0 ) and one point on the ellipse is:
V 2 = ( x 0 - x 0 ( R + m cos ( u ) ) x 0 2 + y 0 2 , y 0 - y 0 ( R + m cos ( u ) ) x 0 2 + y 0 2 , z 0 - n sin ( u ) )
The inner product of the two vectors V 1 , V 2 is:
V 1 , V 2 = ( m 2 - n 2 ) cos ( u ) sin ( u ) + cos ( u ) n z 0 - sin ( u ) m ( x 0 2 + y 0 2 - R ) = 0
The left side of the Equation (9) can be transformed into the form:
sin ( u ) ( m ( x 0 2 + y 0 2 - R ) - ( m 2 - n 2 ) cos ( u ) ) = cos ( u ) n z 0
Let c o s ( u ) = t ; Equation (10) can be expressed as the form:
± 1 - t 2 ( m ( x 0 2 + y 0 2 - R ) - ( m 2 - n 2 ) t ) = t n z 0
Squaring both sides of the Equation (11) and simplifying, we get:
a 0 t 4 + a 1 t 3 + a 2 t 2 + a 3 t + a 4 = 0
where a 0 = ( m 2 - n 2 ) 2 , a 1 = - 2 m ( m 2 - n 2 ) ( x 0 2 + y 0 2 - R ) , a 2 = m 2 ( ( x 0 2 + y 0 2 - R ) 2 - ( m 2 - 2 n 2 ) ) - n 2 ( n 2 - z 0 2 ) , a 3 = 2 m ( m 2 - n 2 ) ( x 0 2 + y 0 2 - R ) , a 4 = - m 2 ( x 0 2 + y 0 2 - R ) 2 . The simplified Equation (12) is:
t 4 + a t 3 + b t 2 + c t + d = 0
where a = a 1 a 0 , b = a 2 a 0 , c = a 3 a 0 , d = a 4 a 0 . Let Y = t + a 4 , then the Equation (13) can further be simplified as:
Y 4 + p Y 2 + q Y + r = 0
where p = b - 3 a 2 8 , q = c - a b 2 + a 3 8 , r = d - a c 4 + a 2 b 16 - 3 a 4 256 .
Lemma 1. 
Equation (14) can be factored into:
Y 4 + p Y 2 + q Y + r = ( Y 2 + λ Y + β ) ( Y 2 - λ Y + γ ) = 0
where λ , β , γ are three parameters to be determined by p , q , r .
Proof. 
We assume that the left-hand side of Equation (15) has four roots Y 1 , Y 2 , Y 3 , Y 4 , and then, we have Y 4 + p Y 2 + q Y + r = ( Y - Y 1 ) ( Y - Y 2 ) ( Y - Y 3 ) ( Y - Y 4 ) . Because the multiplication of an arbitrary two of four factors ( Y - Y 1 ) , ( Y - Y 2 ) , ( Y - Y 3 ) , ( Y - Y 4 ) must generate a quadratic trinomial in which the coefficient of the first term is one, we will obtain the right side of the equation in Equation (15). ☐
Theorem 1. 
The two real roots of the Equation (15) are:
Y 1 = - λ + λ 2 - 4 β 2 , Y 2 = - λ - λ 2 - 4 β 2
Proof. 
From Lemma 1, Formula (15) can be expressed in the following way,
Y 4 + p Y 2 + q Y + r = ( Y 2 + λ Y + β ) ( Y 2 - λ Y + γ ) = Y 4 + ( β + γ - λ 2 ) Y 2 + ( λ γ - λ β ) Y + β γ = 0
Comparing coefficients in both sides of Formula (16), we get:
β + γ = λ 2 + p β - γ = - q λ β γ = r
Combining Equation (16) with Equation (17), it is not difficult to find that:
β = 1 2 ( λ 2 + p - q λ ) γ = 1 2 ( λ 2 + p + q λ )
Substituting Formula (18) into the third formula of Equation (17) and simplifying it, we get:
λ 6 + 2 p λ 4 + ( p 2 - 4 r ) λ 2 - q 2 = 0
We know that the following cubic equation for x:
x 3 + A x 2 + B x + C = 0
has only one real root:
x 1 = 1 6 x 0 + ( 2 A 2 - 6 B ) 3 x 0 - A 3
and a pair of complex roots:
x 2 = - 1 12 x 0 + ( 3 B - A 2 ) 3 x 0 - A 3 + 3 2 I ( 1 6 x 0 + ( 6 B - 2 A 2 ) 3 x 0 ) x 3 = - 1 12 x 0 + ( 3 B - A 2 ) 3 x 0 - A 3 - 3 2 I ( 1 6 x 0 + ( 6 B - 2 A 2 ) 3 x 0 )
where x 0 = ( 36 A B - 108 C - 8 A 3 + 12 12 A 3 C - 3 A 2 B 2 - 54 A B C + 12 B 3 + 81 C 2 ) 1 3 . It is easy to know that a pair of complex roots x 2 and x 3 are not satisfied for Formula (19), because there is no imaginary root fit for the orthogonal projection point, so we have to abandon them. Based on Equation (20), the real root of Equation (19) is:
λ = λ 1 = 1 6 λ 0 + ( 2 A 2 - 6 B ) 3 λ 0 - A 3
and:
λ = λ 2 = - 1 6 λ 0 + ( 2 A 2 - 6 B ) 3 λ 0 - A 3
where λ 0 = ( 36 A B - 108 C - 8 A 3 + 12 12 A 3 C - 3 A 2 B 2 - 54 A B C + 12 B 3 + 81 C 2 ) 1 3 and A = 2 p , B = p 2 - 4 r , C = - q 2 . Substituting these results into the right-hand side of Formula (15), we get the four roots Y 1 , Y 2 , Y 3 , Y 4 , namely, two real roots:
Y 1 = - λ + λ 2 - 4 β 2 , Y 2 = - λ - λ 2 - 4 β 2
and a pair of complex roots
Y 3 = - λ + λ 2 - 4 γ 2 , Y 4 = - λ - λ 2 - 4 γ 2
According to the result of Theorem 1 and the corresponding four roots of Formula (13), there are two real roots,
t 1 = t 11 = - λ + λ 2 - 4 β 2 - a 4
t 1 = t 12 = - λ - λ 2 - 4 β 2 - a 4
and a pair of complex roots:
t 2 = t 21 = - λ + λ 2 - 4 γ 2 - a 4 t 2 = t 22 = - λ - λ 2 - 4 γ 2 - a 4
respectively. We discard a pair of complex roots t 21 , t 22 because Equation (19) has two real roots λ = λ 1 = 1 6 λ 0 + ( 2 A 2 - 6 B ) 3 λ 0 - A 3 and λ = λ 2 = - 1 6 λ 0 + ( 2 A 2 - 6 B ) 3 λ 0 - A 3 . Therefore, there are four real root solutions for t 1 , but only two of them are satisfied with the conditions by the point projection problem. By verification, if x 0 2 + y 0 2 > R , then the solution for Equation (13) is:
t 1 = t 11 = - λ 1 + λ 1 2 - 4 β 2 - a 4
if x 0 2 + y 0 2 < R , then the solution for Equation (13) is:
t 1 = t 12 = - λ 2 - λ 2 2 - 4 β 2 - a 4
if x 0 2 + y 0 2 = R , then the solution for Equation (13) is t 1 = 0 .
Furthermore, we have six cases with different test points (see Figure 1):
(1)
If x 0 2 + y 0 2 > R , z 0 > 0 , then the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) is:
x 2 = x 0 ( R + m t 11 ) x 0 2 + y 0 2 y 2 = y 0 ( R + m t 11 ) x 0 2 + y 0 2 z 2 = n 1 - t 11 2
(2)
If x 0 2 + y 0 2 > R , z 0 < 0 , then the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) is:
x 2 = x 0 ( R + m t 11 ) x 0 2 + y 0 2 y 2 = y 0 ( R + m t 11 ) x 0 2 + y 0 2 z 2 = - n 1 - t 11 2
(3)
If x 0 2 + y 0 2 < R , z 0 > 0 , then the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) is:
x 2 = x 0 ( R + m t 12 ) x 0 2 + y 0 2 y 2 = y 0 ( R + m t 12 ) x 0 2 + y 0 2 z 2 = n 1 - t 12 2
(4)
If x 0 2 + y 0 2 < R , z 0 < 0 , then the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) is:
x 2 = x 0 ( R + m t 12 ) x 0 2 + y 0 2 y 2 = y 0 ( R + m t 12 ) x 0 2 + y 0 2 z 2 = - n 1 - t 12 2
(5)
If x 0 2 + y 0 2 = R , z 0 > 0 , then the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) is:
x 2 = x 0 R x 0 2 + y 0 2 y 2 = y 0 R x 0 2 + y 0 2 z 2 = n
(6)
If x 0 2 + y 0 2 = R , z 0 < 0 , then the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) is:
x 2 = x 0 R x 0 2 + y 0 2 y 2 = y 0 R x 0 2 + y 0 2 z 2 = - n
Remark 1. Because of the errors due to the floating-point numbers in the computer’s arithmetic operation, in the program implementation, we must consider the case in which the roots t 1 = t 11 , t 1 = t 12 are complex roots. The specific approach is as follows:
because
λ 0 = ( 36 A B - 108 C - 8 A 3 + 12 12 A 3 C - 3 A 2 B 2 - 54 A B C + 12 B 3 + 81 C 2 ) 1 3
if 12 A 3 C - 3 A 2 B 2 - 54 A B C + 12 B 3 + 81 C 2 < 0 , then λ 0 = ( 36 A B - 108 C - 8 A 3 + 12 - ( 12 A 3 C - 3 A 2 B 2 - 54 A B C + 12 B 3 + 81 C 2 ) i ) 1 3 = ( λ 0 r + λ 0 i i ) 1 3 , where λ 0 r , λ 0 i denotes the real part and the imaginary part of complex number λ 0 , respectively. Let r = λ 0 r 2 + λ 0 i 2 , θ 1 = acos ( λ 0 r r ) , R = r 1 3 ,
(1)
If λ 0 i 0 , then λ 0 = R cos ( θ 1 / 3 ) + R sin ( θ 1 / 3 ) i
(2)
If λ 0 i 0 , then λ 0 = R cos ( θ 1 / 3 ) - R sin ( θ 1 / 3 ) i .
Let ( λ 2 - 4 β ) 1 2 = ( s r + s i i ) 1 2 , where s r , s i represent the real part and imaginary part of complex number λ 2 - 4 β , respectively. Therefore:
(1)
If s i 0 , then ( λ 2 - 4 β ) 1 2 = ( s r 2 + s i 2 ) 1 4 cos ( θ 2 / 2 ) + ( s r 2 + s i 2 ) 1 4 sin ( θ 2 / 2 ) i
(2)
If s i 0 , then ( λ 2 - 4 β ) 1 2 = ( s r 2 + s i 2 ) 1 4 cos ( θ 2 / 2 ) - ( s r 2 + s i 2 ) 1 4 sin ( θ 2 / 2 ) i , where θ 2 = acos ( s r ( s r 2 + s i 2 ) 1 2 ) . In the process of computing the real roots, we delete the imaginary part of the roots t 1 = t 11 = - λ 1 + λ 1 2 - 4 β 2 - a 4 and t 1 = t 12 = - λ 2 - λ 2 2 - 4 β 2 - a 4 .
Now, we begin to deal with the first special case in which the test point is on the z-axis, namely test point is ( 0 , 0 , z 0 ) . We compute the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) on the specific planar ellipse x = R + m cos ( u ) , y = 0 , z = n sin ( u ) . Because x 0 = y 0 = 0 , this special case is satisfied with x 0 2 + y 0 2 < R , then the corresponding parameter value is t 1 = t 12 = - λ 2 - λ 2 2 - 4 β 2 - a 4 . Based on this parameter value, we present the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) in the following with different test points on the z-axis of the elliptical torus (see Figure 2).
(1)
If z 0 > 0 , then the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) is x 2 = R + m t 12 , y 2 = 0 , z 2 = n 1 - t 12 2 .
(2)
If z 0 < 0 , then the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) is x 2 = R + m t 12 , y 2 = 0 , z 2 = - n 1 - t 12 2 .
(3)
If z 0 = 0 , then the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) is x 2 = R - m , y 2 = 0 , z 2 = 0 .
According to these three cases, if z 0 > 0 , z 0 < 0 or z 0 = 0 , the corresponding orthogonal projection point set ( x 2 , y 2 , z 2 ) of test point ( 0 , 0 , z 0 ) is:
x 2 + y 2 = ( R + m t 12 ) 2 z = n 1 - t 12 2
x 2 + y 2 = ( R + m t 12 ) 2 z = - n 1 - t 12 2
and:
x 2 + y 2 = ( R - m ) 2 z = 0
respectively.
We turn to discuss the second special case in which test point ( x 0 , y 0 , z 0 ) is on the long axis, and its parametric equation is
x = x 0 R x 0 2 + y 0 2 + x 0 m x 0 2 + y 0 2 s y = y 0 R x 0 2 + y 0 2 + y 0 m x 0 2 + y 0 2 s , - 1 s 1 z = 0
We then compute the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) in the following five cases with different test points on the planar ellipse (see Figure 3).
(1)
If - 1 s - m 2 - n 2 m 2 , then the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) is expressed as:
x 2 = x 0 ( R - m ) x 0 2 + y 0 2 y 2 = y 0 ( R - m ) x 0 2 + y 0 2 z 2 = 0
(2)
If - m 2 - n 2 m 2 < s < 0 , then the corresponding parameter value is t 1 = t 12 = - λ 2 - λ 2 2 - 4 β 2 - a 4 , so the corresponding orthogonal projection points ( x 2 , y 2 , z 2 ) are expressed as:
x 2 = x 0 ( R + m t 12 ) x 0 2 + y 0 2 y 2 = y 0 ( R + m t 12 ) x 0 2 + y 0 2 z 2 = n 1 - t 12 2
and:
x 2 = x 0 ( R + m t 12 ) x 0 2 + y 0 2 y 2 = y 0 ( R + m t 12 ) x 0 2 + y 0 2 z 2 = - n 1 - t 12 2
(3)
If s = 0 , then the corresponding orthogonal projection points ( x 2 , y 2 , z 2 ) are expressed as:
x 2 = x 0 R x 0 2 + y 0 2 y 2 = y 0 R x 0 2 + y 0 2 z 2 = n
and:
x 2 = x 0 R x 0 2 + y 0 2 y 2 = y 0 R x 0 2 + y 0 2 z 2 = - n
(4)
If 0 < s < m 2 - n 2 m 2 , then the corresponding parameter value is t 1 = t 11 = - λ 1 + λ 1 2 - 4 β 2 - a 4 . Therefore, the corresponding orthogonal projection points ( x 2 , y 2 , z 2 ) are expressed as:
x 2 = x 0 ( R + m t 11 ) x 0 2 + y 0 2 y 2 = y 0 ( R + m t 11 ) x 0 2 + y 0 2 z 2 = n 1 - t 11 2
and:
x 2 = x 0 ( R + m t 11 ) x 0 2 + y 0 2 y 2 = y 0 ( R + m t 11 ) x 0 2 + y 0 2 z 2 = - n 1 - t 11 2
(5)
If m 2 - n 2 m 2 s 1 , then the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) is expressed as:
x 2 = x 0 ( R + m ) x 0 2 + y 0 2 y 2 = y 0 ( R + m ) x 0 2 + y 0 2 z 2 = 0
Remark 2. When the test point ( x 0 , y 0 , z 0 ) and parameter s are determined, the left-hand side ( x , y , z ) of Equation (30) is also uniquely determined. In the five cases above, the new test point ( x 0 , y 0 , z 0 ) in Equations (31)–(38) is equal to ( x , y , z ) in the left side of Equation (30), rather than the original test point ( x 0 , y 0 , z 0 ) . We remind the readers to pay attention to our explanation here with respect to different test points in Equations (30)–(38).
We start to analyze the third special case in which the test point ( x 0 , y 0 , z 0 ) is on the minor axis and its parametric equation is:
x = x 0 R x 0 2 + y 0 2 y = y 0 R x 0 2 + y 0 2 , - < s < z = n s
We compute the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) on the planar ellipse:
(1)
If s > 0 , then the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) is:
x 2 = x 0 R x 0 2 + y 0 2 y 2 = y 0 R x 0 2 + y 0 2 z 2 = n
(2)
If s < 0 , then the corresponding orthogonal projection point ( x 2 , y 2 , z 2 ) is expressed as:
x 2 = x 0 R x 0 2 + y 0 2 y 2 = y 0 R x 0 2 + y 0 2 z 2 = - n
(3)
If s = 0 , then the corresponding orthogonal projection points ( x 2 , y 2 , z 2 ) are expressed as:
x 2 = x 0 R x 0 2 + y 0 2 y 2 = y 0 R x 0 2 + y 0 2 z 2 = n
and:
x 2 = x 0 R x 0 2 + y 0 2 y 2 = y 0 R x 0 2 + y 0 2 z 2 = - n
Remark 3. When the test point ( x 0 , y 0 , z 0 ) and parameter s are determined, the left-hand side ( x , y , z ) of Equation (39) is also uniquely determined. In the three cases above, the new test point ( x 0 , y 0 , z 0 ) in Equations (40)–(43) is equal to ( x , y , z ) in the left side of Equation (39), rather than the original test point ( x 0 , y 0 , z 0 ) . We remind the readers to pay attention to our explanation here with respect to different test points in Equations (39)–(43).

3. Conclusions

This paper investigates the problem related to a point projection onto the elliptical torus surface. We present the accurate method for the orthogonal projection problem about how to compute the minimum distance between a point and the elliptical torus for all kinds of positions. A topic for future research is to develop a method to compute the minimum distance between a point and a general completely central symmetrical surface.

Acknowledgments

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. [2014]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. [2009]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).

Author Contributions

The contributions of all of the authors are the same. All of them have worked together to develop the present manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ma, Y.L.; Hewitt, W.T. Point inversion and projection for NURBS curve and surface: Control polygon approach. Comput. Aided Geom. Des. 2003, 20, 79–99. [Google Scholar] [CrossRef]
  2. Yang, H.P.; Wang, W.P.; Sun, J.G. Control point adjustment for B-spline curve approximation. Comput. Aided Des. 2004, 36, 639–652. [Google Scholar] [CrossRef] [Green Version]
  3. Johnson, D.E.; Cohen, E. A Framework for efficient minimum distance computations. In Proceedings of the IEEE Intemational Conference on Robotics & Automation, Leuven, Belgium, 20–20 May 1998.
  4. Piegl, L.; Tiller, W. Parametrization for surface fitting in reverse engineering. Comput. Aided Des. 2001, 33, 593–603. [Google Scholar] [CrossRef]
  5. Pegna, J.; Wolter, F.E. Surface curve design by orthogonal projection of space curves onto free-form surfaces. J. Mech. Des. ASME Trans. 1996, 118, 45–52. [Google Scholar] [CrossRef]
  6. Hu, S.M.; Wallner, J. A second order algorithm for orthogonal projection onto curves and surfaces. Comput. Aided Geom. Des. 2005, 22, 251–260. [Google Scholar] [CrossRef]
  7. Besl, P.J.; McKay, N.D. A method for registration of 3-D shapes. IEEE Trans. Pattern Anal. Mach. Intell. 1992, 14, 239–256. [Google Scholar] [CrossRef]
  8. Mortenson, M.E. Geometric Modeling; Wiley: New York, NY, USA, 1985. [Google Scholar]
  9. Zhou, J.M.; Sherbrooke, E.C.; Patrikalakis, N. Computation of stationary points of distance functions. Eng. Comput. 1993, 9, 231–246. [Google Scholar] [CrossRef]
  10. Johnson, D.E.; Cohen, E. Distance extrema for spline models using tangent cones. In Proceedings of the 2005 Conference on Graphics Interface, Waterloo, ON, Canada, 9–11 May 2005.
  11. Hartmann, E. On the curvature of curves and surfaces defined by normalforms. Comput. Aided Geom. Des. 1999, 16, 355–376. [Google Scholar] [CrossRef]
  12. Limaien, A.; Trochu, F. Geometric algorithms for the intersection of curves and surfaces. Comput. Graph. 1995, 19, 391–403. [Google Scholar] [CrossRef]
  13. Polak, E.; Royset, J.O. Algorithms with adaptive smoothing for finite minimax problems. J. Optim. Theory Appl. 2003, 119, 459–484. [Google Scholar] [CrossRef]
  14. Press, W.H.; Teukolsky, S.A.; Vetterling, W.T.; Flannery, B.P. Numerical Recipes in C: The Art of Scientific Computing, 2nd ed.; Cambridge University Press: New York, NY, USA, 1992. [Google Scholar]
  15. Elber, G.; Kim, M.S. Geometric Constraint solver using multivariate rational spline functions. In Proceedings of the Sixth ACM Symposiumon Solid Modeling and Applications, Ann Arbor, MI, USA, 6–8 June 2001; pp. 1–10.
  16. Patrikalakis, N.; Maekawa, T. Shape Interrogation for Computer Aided Design and Manufacturing; Springer: Berlin, Germany, 2001. [Google Scholar]
  17. Selimovic, I. Improved algorithms for the projection of points on NURBS curves and surfaces. Comput. Aided Geom. Des. 2006, 23, 439–445. [Google Scholar] [CrossRef]
  18. Cohen, E.; Lyche, T.; Riesebfeld, R. Discrete B-splines and subdivision techniques in computer-aided geometric design and computer graphics. Comput. Graph. Image Process. 1980, 14, 87–111. [Google Scholar] [CrossRef]
  19. Piegl, L.; Tiller, W. The NURBS Book; Springer: New York, NY, USA, 1995. [Google Scholar]
  20. Liu, X.-M.; Yang, L.; Yong, J.-H.; Guf, H.-J.; Sun, J.-G. A torus patch approximation approach for point projection on surfaces. Comput. Aided Geom. Des. 2009, 26, 593–598. [Google Scholar] [CrossRef]
  21. Li, X.; Xin, Q.; Wu, Z.; Zhang, M.; Zhang, Q. A geometric strategy for computing intersections of two spatial parametric curves. Vis. Comput. 2013, 29, 1151–1158. [Google Scholar] [CrossRef]
  22. Kim, K.-J. Minimum distance between a canal surface and a simple surface. Comput. Aided Des. 2003, 35, 871–879. [Google Scholar] [CrossRef]
  23. Li, X.; Jiang, H.; Chen, S.; Wang, X. An efficient surface-surface intersection algorithm based on geometry characteristics. Comput. Graph. 2004, 28, 527–537. [Google Scholar] [CrossRef]
  24. Chen, S.-D.; Ma, W.; Xu, G.; Paul, G.-C. Computing the Hausdorff distance between two B-spline curves. Comput. Aided Des. 2010, 42, 1197–1206. [Google Scholar] [CrossRef]
  25. Chen, X.-D.; Xu, G.; Yong, J.-H.; Wang, G.; Paul, G.-C. Computing the minimum distance between a point and a clamped B-spline surface. Graph. Models 2009, 71, 107–112. [Google Scholar] [CrossRef] [Green Version]
  26. Chen, X.-D.; Yong, J.-H.; Wang, G.; Paul, G.-C.; Xu, G. Computing the minimum distance between a point and a NURBS curve. Comput. Aided Des. 2008, 40, 1051–1054. [Google Scholar] [CrossRef] [Green Version]
  27. Chen, X.-D.; Chen, L.; Wang, Y.; Xu, G.; Yong, J.-H.; Paul, J.-C. Computing the minimum distance between two Bézier curves. J. Comput. Appl. Math. 2009, 229, 294–301. [Google Scholar] [CrossRef] [Green Version]
  28. Chen, X.D.; Yong, J.H.; Wang, G.Z.; Paul, J.C.; Xu, G. Computing the minimum distance between a point and a NURBS curve. Comput. Aided Des. 2008, 40, 1051–1054. [Google Scholar] [CrossRef] [Green Version]
  29. Oh, Y.-T.; Kim, Y.-J.; Lee, J.; Kim, Y.-S.; Elber, G. Efficient point-projection to freeform curves and surfaces. Comput. Aided Geom. Des. 2012, 29, 242–254. [Google Scholar] [CrossRef]
  30. Sundar, B.R.; Chunduru, A.; Tiwari, R.; Gupta, A.; Muthuganapathy, R. Footpoint distance as a measure of distance computation between curves and surfaces. Comput. Graph. 2014, 38, 300–309. [Google Scholar] [CrossRef]
  31. Borkowski, K.M. Accurate algorithms to transform geocentric to geodetic coordinates. J. Geod. 1989, 63, 50–56. [Google Scholar] [CrossRef]
  32. Bil, T. Geometry of a mechanism with a higher pair in the form of two elliptical tori. Mech. Mach. Theory 2010, 45, 185–192. [Google Scholar] [CrossRef]
  33. Bil, T. Kinematic analysis of a universal spatial mechanism containing a higher pair based on tori. Mech. Mach. Theory 2011, 46, 412–424. [Google Scholar] [CrossRef]
  34. Haneskog, L.; Andersson, L.; Brekkan, E.; Englund, A.-K.; Kameyarna, K.; Llljas, L.; Greljer, E.; Flschbarg, J.; Lundahl, P. Monomeric human red cell glucose transporter (Glutl) in non-ionic detergent solution and a semi-elliptical toms model for detergent binding to membrane proteins. Biochim. Biophys. Acta 1996, 1282, 39–47. [Google Scholar] [CrossRef]
  35. Dantchev, D.; Valchev, G. Surface integration approach: A new technique for evaluating geometry dependent forces between objects of various geometry and a plate. J. Colloid Interface Sci. 2012, 372, 148–163. [Google Scholar] [CrossRef] [PubMed]
  36. Werner, D.H.; Jones, D.M.; Werner, P.L. The Electromagnetic Fields of Elliptical Torus Knots. IEEE Trans. Antennas Propag. 2001, 49, 980–991. [Google Scholar] [CrossRef]
Figure 1. Graph of orthogonal projection with test points given by six cases.
Figure 1. Graph of orthogonal projection with test points given by six cases.
Computers 05 00004 g001
Figure 2. Graph of orthogonal projection with test points given by three cases.
Figure 2. Graph of orthogonal projection with test points given by three cases.
Computers 05 00004 g002
Figure 3. Graph of orthogonal projection with test points given by five cases.
Figure 3. Graph of orthogonal projection with test points given by five cases.
Computers 05 00004 g003

Share and Cite

MDPI and ACS Style

Li, X.; Wu, Z.; Hou, L.; Wang, L.; Yue, C. The Accurate Method for Computing the Minimum Distance between a Point and an Elliptical Torus. Computers 2016, 5, 4. https://doi.org/10.3390/computers5010004

AMA Style

Li X, Wu Z, Hou L, Wang L, Yue C. The Accurate Method for Computing the Minimum Distance between a Point and an Elliptical Torus. Computers. 2016; 5(1):4. https://doi.org/10.3390/computers5010004

Chicago/Turabian Style

Li, Xiaowu, Zhinan Wu, Linke Hou, Lin Wang, and Chunguang Yue. 2016. "The Accurate Method for Computing the Minimum Distance between a Point and an Elliptical Torus" Computers 5, no. 1: 4. https://doi.org/10.3390/computers5010004

APA Style

Li, X., Wu, Z., Hou, L., Wang, L., & Yue, C. (2016). The Accurate Method for Computing the Minimum Distance between a Point and an Elliptical Torus. Computers, 5(1), 4. https://doi.org/10.3390/computers5010004

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop