Drawing ellipses and elliptical arcs with piecewise cubic Bézier curve approximations

Jerry R. Van Aken
{"title":"Drawing ellipses and elliptical arcs with piecewise cubic Bézier curve approximations","authors":"Jerry R. Van Aken","doi":"arxiv-2407.17675","DOIUrl":null,"url":null,"abstract":"This tutorial describes how to use piecewise cubic B\\'ezier curves to draw\narbitrarily oriented ellipses and elliptical arcs. The geometric principles\ndiscussed here result in strikingly simple interfaces for graphics functions\nthat can draw (approximate) circles, ellipses, and arcs of circles and\nellipses. C++ source code listings are included for these functions. Their code\nsize can be relatively small because they are designed to be used with a\ngraphics library or platform that draws B\\'ezier curves, and the library or\nplatform is tasked with the actual rendering of the curves.","PeriodicalId":501174,"journal":{"name":"arXiv - CS - Graphics","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-07-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Graphics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.17675","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

This tutorial describes how to use piecewise cubic B\'ezier curves to draw arbitrarily oriented ellipses and elliptical arcs. The geometric principles discussed here result in strikingly simple interfaces for graphics functions that can draw (approximate) circles, ellipses, and arcs of circles and ellipses. C++ source code listings are included for these functions. Their code size can be relatively small because they are designed to be used with a graphics library or platform that draws B\'ezier curves, and the library or platform is tasked with the actual rendering of the curves.
用片断三次贝塞尔曲线近似法绘制椭圆和椭圆弧
本教程介绍如何使用片断三次 B\'ezier 曲线绘制任意方向的椭圆和椭圆弧。这里讨论的几何原理为图形函数提供了非常简单的界面,这些函数可以绘制(近似)圆、椭圆以及圆弧和椭圆。本文包含这些函数的 C++ 源代码列表。它们的代码量可以相对较小,因为它们被设计为与绘制 B\'ezier 曲线的图形库或平台一起使用,而图形库或平台的任务是实际渲染曲线。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信