Elsevier

Computer Aided Geometric Design

Volume 38, October 2015, Pages 24-37
Computer Aided Geometric Design

A geometric method for computation of geodesic on parametric surfaces

https://doi.org/10.1016/j.cagd.2015.08.001Get rights and content

Highlights

  • An efficient geometric algorithm aims to trace geodesic on parametric surfaces.

  • Independent of the complex description of the geodesic equations.

  • Simpler and faster than the existing geometric method.

  • Step size of the algorithm adapts to the geometry of parametric surface.

Abstract

This paper proposes a geometric algorithm for computation of geodesic on surfaces. The geodesics on surfaces are traced in a simple way which is independent of the complex description of the geodesic equations. Through derivation process, the calculation error of this algorithm is obtained. A step size adjustment strategy which enables the step size adapt to the geometry of surface is introduced. The proposed method is also compared to some other well-known methods in this study. Many geodesics computed using these approaches on various B-spline surfaces or their equivalent tessellated surfaces have been presented. Experiments demonstrate that the proposed algorithm is efficient. Meanwhile, the results show that the step size adjustment strategy works well for most of the cases.

Introduction

Geodesic on a surface is an intrinsic geometric feature that plays an important role in a diversity of applications. The importance of geodesic is well known in the computer simulation of design and manufacturing process of composite components. For tape laying process, geodesic allows minimizing the steering of the tape (Debout et al., 2011). For filament winding process, it would be impossible to lay a filament in any way other than along a geodesic on a frictionless convex surface. Geodesic also finds its application in surface and shape processing, such as surface flattening (Azariadis and Aspragathos, 1997, Azariadis and Aspragathos, 2001), segmentation, sampling, meshing and comparison of shapes (Peyré et al., 2010).

A curve on a surface is called a geodesic if and only if the normal vector to the curve is everywhere parallel to the normal vector of the surface. A geodesic can also be defined as a curve with zero geodesic curvature.

Available approaches for the computation of geodesic on surfaces can be classified broadly as analytical and numerical, and the later one is more widely used than the former one recently. The analytical approaches presented by Do Carmo (1976) are quite complex and closed form solutions cannot be found for geodesic on general surfaces. As for the numerical approaches, Beck et al. (1986) computed geodesic paths on a bicubic spline surface by using the fourth order Runge–Kutta method. Patrikalakis and Badris (1989) examined geodesic curves on parametric surfaces when they constructed offset curves on Rational B-spline surfaces. Sneyd and Peskin (1990) investigated the computation of geodesic paths on a generalized cylinder using a second order Runge–Kutta method. Hotz and Hagen (2000) presented a geometric method for the construction of geodesics on arbitrary surface. Their method is based on the fundamental property that geodesics are a generalization of straight lines on planes. The superiority of this method is that it makes us independent of the complex description of the surface. Ying and Candes proposed an approach for rapidly computing a very large number of geodesics on a smooth surface. Their approach is built upon the phase flow method and is especially well suited for the problem of computing creeping rays (Maekawa, 1996).

Finding the shortest path between two points on surface is a classical problem and it has many important applications. Maekawa introduced an approach for finding the shortest path between two points on a free-form parametric surface based on a relaxation method relying on finite difference discretization (Ying and Candes, 2006). Kasap et al. (2005) presented a numerical method for the computation of geodesic between two points on surface. They solve the nonlinear differential equations of geodesic via the finite-difference method and the iterative method. Chen (2010) proposed a geodesic-like curve that approaches to the geodesic on surface when the order of the curve reaches to infinity. Chen's geodesic-like curve has been proved to be accurate.

Many accurate discrete methods approach geodesics or the shortest paths on tessellated surfaces (Tucker, 1997, Ravi Kumar et al., 2003), polygonal surfaces (Polthier and Schmies, 1998, Kanai and Suzuki, 2001) and triangular meshes (Martinez et al., 2005, Surazhsky et al., 2005). Bose et al. (2011) did a survey which gave an overview of theoretically and practically relevant algorithms to compute geodesic paths and distances on three-dimensional surfaces. The algorithms are differentiated based on theoretical time complexity and approximation ratio.

In general, conventional approaches for computation of geodesic can be classified broadly into three types. First, solve the nonlinear differential equations of geodesic by using a numerical integration method such as Runge–Kutta method. Second, compute discrete geodesics on discrete surfaces by following some rules. Last, construct geodesics on smooth surfaces by using geometric methods. The first type is elegant and accurate, but the differential equations of geodesic are very complicated and generally not easy to solve. Discrete geodesics have been gaining attention as computer becomes increasingly more powerful and discretized models become more prevalent in geometric modeling. However, the discrete geodesics cannot be computed directly on the original smooth surface. There is little work on constructing geodesics directly on smooth surfaces by using geometric methods. The geometric method presented by Hotz and Hagen is complicated as it needs to compute projection of point of tangent plane in each step. Ravi Kumar's method can be extended to estimate geodesics on regular surfaces (Chen, 2010). However, this method does not perform on regular surfaces directly. The discrete geodesic is computed at first and then projected to the regular surface. In this work, we present a compact geometric method for constructing geodesics directly on smooth surfaces. Firstly, principle of the method is described in detail. Then, calculation error of the method is provided through derivation process. Finally, the method is tested on a group of different surfaces. See Table 1 for used notations.

Section snippets

Principle of the algorithm

This work describes an efficient method which aims to trace geodesic on parametric surfaces. The presented approach is independent of the complex description of the geodesic equations and is summarized as follows:

We look at a surface S which is given by a parameterization r(u,v)=[x(u,v),y(u,v),z(u,v)], where x, y and z are differentiable functions of the parameters u and v. As this work focus on providing a computational method for the geodesic, we assume that S is regular.

A curve C lying

Error analysis

Let qi=(ui,vi) denote the point calculated by the proposed method in step i (i=2m,m2), the exact position of qi is represented as qi=(ui,vi). The three-dimensional image point of qi and qi on S is represented as Qi and Qi, respectively. The main focus in this section is to acquire the difference between qi and qi. Q0 is the starting point of the geodesic, so q0=q0.

As presented in Section 2, the position of qi is obtained as:qi=qi1+Li1Δs, where Li1=(u(qi1),v(qi1)) is the

Step size adjustment strategy

In this section, a strategy which enables the step size adapt to the geometry of surface is introduced.

By referring to the mean value theorem, the local truncation error of qi can be rewritten as:ε3=ε1+ε2=(12u(δi1)Δs2,12v(φi1)Δs2), where both of δi1 and φi1 are located between qi1 and qi on curve C.

Let λ denote the upper limit of the local truncation error of qi, we get:(|u(δi1)|+|v(φi1)|)Δs22λ.

In each calculation step, we choose Δs=2λ(|u(δi1)|+|v(φi1)|) as the step size.

Then

Validation of the algorithm

In this section, we perform comparisons between our method and some existing elegant methods. At first, our approach is compared with Beck's approach on accuracy and efficiency as both approaches work directly on the original surface.

Then, both of the two methods mentioned above are compared with Ravi Kumar's discrete method. Ravi Kumar's discrete method had been extended to estimate geodesics on regular surfaces in Chen's work. This method does not perform on regular surfaces directly. The

Conclusion

This paper presents a geometric method for computation of geodesic on parametric surfaces. The geodesic which is completely on the surface can be obtained by this algorithm. Furthermore, we do not need to solve the differential equations of geodesic which are quite complicated and generally not easy to solve.

Experimental results indicate that our approach is more efficient than Beck's method on a 2×2 B-spline surface while the efficiency of our approach on a 6×4 B-spline surface depends on the

Acknowledgements

This work was supported by the National Basic Research Program of China (2013CB035805) and the National Science and Technology Major Project of China (2010ZX04016-013).

References (22)

  • L.X. Ying et al.

    Fast geodesics computation with the phase flow method

    J. Comput. Phys.

    (2006)
  • Cited by (15)

    • Simplified quadrilateral grid generation of complex free-form gridshells by surface fitting

      2022, Journal of Building Engineering
      Citation Excerpt :

      Geodesic has been widely used in different fields such as computer graphics, computer vision and computational geometry. In computer graphics, geodesic can be used to flatten, segment, sample, mesh and compare surfaces and shapes [31]. The geodesics on surface can be obtained through both analytical and numerical method.

    • Accurate High-Order Derivatives of Geodesic Paths on Smooth Surfaces

      2021, CAD Computer Aided Design
      Citation Excerpt :

      While for the numerical examples of this paper we employ methods based on numerically approximating the ordinary differential equation satisfied by geodesics [10], our proposed method is not limited to this case and can be applied in conjunction with any method for computing geodesics that provides an approximation for the first derivative. One example is the method proposed in [11], where second order derivatives of the curve are used for correcting the step size during the geodesic tracing. Arvanitakis et al. [12] developed a geodesic based shortest path algorithm that finds the optimal path towards a goal position for a robot.

    • A smooth tool path planning method on NURBS surface based on the shortest boundary geodesic map

      2020, Journal of Manufacturing Processes
      Citation Excerpt :

      That means the SBG of the internal point on NURBS surface has only one definite value. It is possible to trace the geodesic path from any internal point to the surface boundaries on a parametric surface by some analytical algorithms with little calculation error [36,37]. However, the analytical algorithm is restricted to use for the calculation of SBG on NURBS surface due to the extreme complexity in evaluation and derivation of NURBS formulation.

    • A Variational Framework for Curve Shortening in Various Geometric Domains

      2023, IEEE Transactions on Visualization and Computer Graphics
    View all citing articles on Scopus

    This paper has been recommended for acceptance by Ralph Martin.

    View full text