Please wait a minute...
JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE)
Computer Technology     
Approximation of conic sections based on interpolation by PH curves
ZHENG Zhi hao, WANG Guo zhao
School of Mathematical Sciences, Zhejiang University, Hangzhou 310027, China
Download:   PDF(1070KB) HTML
Export: BibTeX | EndNote (RIS)      

Abstract  

PH curves were introduced to solve the problem that the offsets and the arc lengths of the approximations of the conic curves by polynomial curves were not rational representations. Firstly, the G1 Hermite interpolations by PH quartic curve and PH quintic curve that preserved arc lengths were constructed based on the endpoints and their unit tangents of a conic curve, and these PH curves were used as approximations for the conic curve. By analyzing the separated geometric conditions for the legs and angles of the control polygon, the condition for a PH quartic curve to be degenerated to a PH cubic curve was derived. The conclusion is obtained that a PH cubic is actually a special case of which degenerated from a PH quartic. Secondly, we employed the rational Bézier representation for conic and the definition of Hausdorff distance. The errors between a conic curve and the all above mentioned PH curves that were used as interpolations and approximations were estimated. Finally, we approximated the ellipse and parabola with whole and subdividing methods by the interpolants of PH cubic, PH quartic and PH quintic, respectively. According to the derived formulae for the errors, the approximation accuracies for the discussed PH curves were compared. Results show that the interpolation approximation via PH curves can not only make conic curves converted into the polynomial curves with rational offsets that are compatible with CAD system, but also let the type of PH curves used as approximation be selected flexibly according to actual needs, which is effective and practical.



Published: 31 December 2015
CLC:  TP 391  
Cite this article:

ZHENG Zhi hao, WANG Guo zhao. Approximation of conic sections based on interpolation by PH curves. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2015, 49(12): 2290-2297.

URL:

http://www.zjujournals.com/eng/10.3785/j.issn.1008-973X.2015.12.008     OR     http://www.zjujournals.com/eng/Y2015/V49/I12/2290


基于PH曲线插值的圆锥曲线逼近

针对采用多项式曲线逼近圆锥曲线所生成的等距线和弧长不是有理形式的问题,引入PH曲线作为逼近曲线.根据圆锥曲线端点及其单位切向量构造G1 Hermite插值的四次PH曲线及等弧长的五次PH曲线,并以此作为对圆锥曲线的逼近. 通过分析控制多边形边角分离的几何条件,推导四次PH曲线退化为三次PH曲线的条件,得到三次PH曲线实为四次PH曲线的退化特例的结论.进一步采用圆锥曲线的二次有理Bézier表达式及依据Hausdorff距离误差定义,估计圆锥曲线与其插值逼近的各类PH曲线的误差.分别采用三次、四次及五次PH曲线对圆锥曲线中的椭圆和抛物线进行整段插值逼近及离散插值逼近.基于导出的误差公式,比较各类PH曲线的逼近精度.结果表明:采用PH曲线进行插值逼近,不仅可将圆锥曲线转化为兼容CAD系统的具有有理等距线的多项式曲线,还可根据实际需求灵活选取PH逼近曲线的类型,所提出的方法具有有效性和实用性.

[1] AHN Y J. Approximation of conic section by curvature continuous quartic Bézier curves [J]. Computers and Mathematics with Applications, 2010,60(7):1986-1993.
[2] FANG L. G3 approximation of conic sections by quintic polynomial curves [J]. Computer Aided Geometric Design,1999, 16(8): 755-766.
[3] FLOATER M. High order approximation of conic sections by quadratic splines [J]. Computer Aided Geometric Design,1995, 12(6): 617-637.
[4] FLOATER M. An O(h2n) Hermite approximation for conic sections [J]. Computer Aided Geometric Design,1997,14(2): 135-151.
[5] KIM S H, AHN Y J. An approximation of circle arcs by quartic Bézier curves [J]. Computer Aided Design, 2007, 39(6): 490-493.
[6] AHN Y J. Helix approximations with conic and quadratic Bézier curves [J]. Computer Aided Geometric Design, 2005, 22(6): 551-565.
[7] FAROUKI R T. The conformal map z→z2 of the hodograph plane [J].Computer Aided  Geometric Design,1994, 11(4): 363-390.
[8] LI Y J, DENG C Y.2012. C shaped C2 Hermite interpolation with circular precision based on cubic PH curve interpolation [J]. Computer Aided Design, 2012:44(11), 1056-1061.
[9] MEEK D S, WALTON D J. Geometric Hermite interpolation with Tschirnhausen cubics [J]. Journal of Computational and Applied Mathematics, 1997,81(2):299-309.
[10] BYRTUS M, BASTL B. G1 Hermite interpolation by PH cubics revisited [J]. Computer Aided Geometric Design, 2010, 27(8): 622-630.
[11] PELOSI F, SAMPOLI M L, FAROUKI R T, et al. A control polygon scheme for design of planar C2 PH quintic spline curves [J]. Computer Aided Geometric Design, 2007, 24(1): 28-52.
[12] MOON H P, FAROUKI R T. Construction and shape analysis of PH quintic Hermite interpolants [J]. Computer Aided Geometric Design, 2001, 18(2): 93-115.
[13] SIR Z, FEICHTINGER.F, JUETTLER B. Approximating curves and their offsets using baircs and Pythagorean hodograph quintic [J]. Computer Aided Design, 2006, 38(6): 608-618.
[14] JUETTLER B. Hermite interpolation by Pythagorean hodograph curves of degree seven [J]. Mathematics of Computation, 2000,70(235):1089-1111.
[15] SIR Z, JUETTLER B. Constructing acceleration continuous tool paths using Pythagorean Hodograph curves [J]. Mechanism and Machine Theory, 2005,40(11): 1258-1272.
[16] WANG G Z, FANG L C. On control polygon of quartic Pythagorean hodograph curves [J]. Computer Aided Geometric Design, 2009, 26(9): 1006-1015.
[17] 张伟红,蔡亦青,冯玉瑜.圆弧的五次PH曲线等弧长逼近[J].计算机辅助设计与图形学报,2010, 22(7): 1082-1086.
ZHANG Wei hong, CAI Yi Qin, FENG Yu yu.Arc length preserving approximation of circular arcs by quintic PH quintic PH curves [J]. Journal of Computer Aided Design and Computer Graphics, 2010, 22(7): 1082-1086.
[18] 方林聪, 汪国昭. 六次PH曲线C1 Hermite插值[J]. 中国科学:数学, 2014,44(7): 799-804.
Fang Lin cong, Wang Guo zhao. C1 Hermite interpolation using sextic PH curves[J]. SCIENCE CHINA Mathematics, 2014, 44(7): 799-804.
[19] 杨平,汪国昭.7次PH曲线的控制多边形的几何性质[J].计算机辅助设计与图形学报,2014, 26(3): 378-384.
YANG Ping, WANG Guo zhao. Geometric properties of control polygon of septic PH curve [J]. Journal of Computer Aided Design and Computer Graphics, 2014, 26(3): 378-384.
[20] 杨平, 汪国昭. C3连续的七次PH样条闭曲线插值[J]. 浙江大学学报:工学版, 2014,48(5): 934-941.
YANG Ping, WANG Guo zhao. C3 Spline interpolation by Pythagorean hodograph closed curveof degree seven [J]. Journal of Zhejiang University: Engineering Science, 2014,48(5): 934-941.
[21] 郑志浩,汪国昭. 三次PH曲线的曲率单调性及过渡曲线构造[J].计算机辅助设计与图形学报,2014, 26(8):1219-1224.
ZHENG Zhi hao, WANG Guo zhao. On curvature monotony for a PH cubic curve and constructing transition curve [J]. Journal of Computer Aided Design and Computer Graphics, 2014, 26(8): 1219-1224.
[22] WALTON D J, MEEK D S. G2 curve design with a pair of Pythagorean hodograph quintic spiral segments [J]. Computer Aided Geometric Design, 2007, 24(5): 267-285.
[23] HABIB Z, SAKAI M. On PH quintic spirals joining two circles with one circle inside the other [J]. Computer Aided Design, 2007, 39(2): 125-132.
[24] FAROUKI R T, GIANNELLI C, SESTINI A. Identification and “reverse engineering” of Pythagorean hodograph curves [J]. Computer Aided Geometric Design, 2015, 34(1): 21-36.
[25] FAROUKI R T, SIR Z. Rational Pythagorean hodograph space curves [J]. Computer Aided Geometric Design, 2011, 28(2): 75-88.

[1] HE Xue-jun, WANG Jin, LU Guo-dong, LIU Zhen-yu, CHEN Li, JIN Jing. 3D head portrait sculpture by industrial robot based on triangular mesh slicing and collision detection[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(6): 1104-1110.
[2] WANG Hua, HAN Tong-yang, ZHOU Ke. KeyGraph-based community detection algorithm for public security intelligence[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(6): 1173-1180.
[3] YOU Hai-hui, MA Zeng-yi, TANG Yi-jun, WANG Yue-lan, ZHENG Lin, YU Zhong, JI Cheng-jun. Soft measurement of heating value of burning municipal solid waste for circulating fluidized bed[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(6): 1163-1172.
[4] BI Xiao-jun, WANG Jia-hui. Teaching-learning-based optimization algorithm with hybrid learning strategy[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(5): 1024-1031.
[5] MU Jing-jing, ZHAO Xin-yue, HE Zai-xing, ZHANG Shu-you. Contour reconstruction of overlapped bubbles based on concave-convex transformation and circle fitting[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(4): 714-721.
[6] HUANG Zheng-yu, JIANG Xin-long, LIU Jun-fa, CHEN Yi-qiang, GU Yang. Fusion feature based semi-supervised manifold localization method[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(4): 655-662.
[7] JIANG Xin-long, CHEN Yi-qiang, LIU Jun-fa, HU Li-sha, SHEN Jian-fei. Wearable system to support proximity awareness for people with autism[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(4): 637-647.
[8] WANG Liang, YU Zhi-wen, GUO Bin. Moving trajectory prediction model based on double layer multi-granularity knowledge discovery[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(4): 669-674.
[9] LIAO Miao, ZHAO Yu-qian, ZENG Ye-zhan, HUANG Zhong-chao, ZHANG Bing-kui, ZOU Bei-ji. Automatic segmentation for cell images based on support vector machine and ellipse fitting[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(4): 722-728.
[10] DAI Cai-yan, CHEN Ling, LI Bin, CHEN Bo-lun. Sampling-based link prediction in complex networks[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(3): 554-561.
[11] LIU Lei, YANG Peng, LIU Zuo-jun. Locomotion-Mode recognition using multiple kernel relevance vector machine[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(3): 562-571.
[12] GUO Meng-li, DA Fei-peng, DENG Xing, GAI Shao-yan. 3D face recognition based on keypoints and local feature[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(3): 584-589.
[13] WANG Hai jun, GE Hong juan, ZHANG Sheng yan. Fast object tracking algorithm via kernel collaborative presentation[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(2): 399-407.
[14] ZHANG Ya nan, CHEN De yun, WANG Ying jie, LIU Yu peng. Incremental graph pattern matching based dynamic recommendation method for cold-start user[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(2): 408-415.
[15] LIU Yu peng, QIAO Xiu ming, ZHAO Shi lei, MA Chun guang. Deep combination of large-scale features in statistical machine translation[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(1): 46-56.