Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Bézier curve
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Offsets (or stroking) of Bézier curves=== The curve at a fixed offset from a given Bézier curve, called an [[parallel curve|offset or parallel curve]] in mathematics (lying "parallel" to the original curve, like the offset between rails in a [[railroad track]]), cannot be exactly formed by a Bézier curve (except in some trivial cases). In general, the two-sided offset curve of a cubic Bézier is a 10th-order [[algebraic curve]]<ref name="Kilgard">{{cite web |author=Mark Kilgard |date=April 10, 2012 |title=CS 354 Vector Graphics & Path Rendering |url=http://www.slideshare.net/Mark_Kilgard/22pathrender |page=28}}</ref> and more generally for a Bézier of degree ''n'' the two-sided offset curve is an algebraic curve of degree 4''n'' − 2.<ref>{{cite web |title=Introduction to Pythagorean-hodograph curves |author=Rida T. Farouki |url=http://faculty.engineering.ucdavis.edu/farouki/wp-content/uploads/sites/41/2013/02/Introduction-to-PH-curves.pdf |archive-url=https://web.archive.org/web/20150605214546/http://faculty.engineering.ucdavis.edu/farouki/wp-content/uploads/sites/41/2013/02/Introduction-to-PH-curves.pdf |url-status=dead |archive-date=June 5, 2015 }}, particularly p. 16 "taxonomy of offset curves".</ref> However, there are [[heuristic]] methods that usually give an adequate approximation for practical purposes.<ref>For example: * {{cite book |last1=Ostromoukhov |first1=Victor |title=Hermite Approximation for Offset Curve Computation |url=https://perso.liris.cnrs.fr/victor.ostromoukhov/publications/pdf/ICCG93_Hermite.pdf|citeseerx=10.1.1.43.1724 |language=en}} * {{cite web |last1=Kilgard |first1=Mark J. |last2=Moreton |first2=Henry Packard |title=US20110285719A1 Approximation of stroked higher-order curved segments by quadratic bèzier curve segments |url=https://patents.google.com/patent/US20110285719 |website=Google Patents |date=24 November 2011}} For a survey see {{cite journal |last1=Elber |first1=G. |title=Comparing offset curve approximation methods |journal=IEEE Computer Graphics and Applications |date=May 1997 |volume=17 |issue=3 |pages=62–71 |doi=10.1109/38.586019|url=http://3map.snu.ac.kr/mskim/ftp/comparing.pdf}}</ref> In the field of [[vector graphics]], painting two symmetrically distanced offset curves is called ''stroking'' (the Bézier curve or in general a path of several Bézier segments).<ref name="Kilgard"/> The conversion from offset curves to filled Bézier contours is of practical importance in converting [[font]]s defined in [[Metafont]], which require stroking of Bézier curves, to the more widely used [[PostScript fonts|PostScript type 1 font]]s, which only require (for efficiency purposes) the mathematically simpler operation of filling a contour defined by (non-self-intersecting) Bézier curves.<ref>{{cite journal |url=https://www.tug.org/TUGboat/tb16-3/tb48kinc.pdf |archive-url=https://ghostarchive.org/archive/20221009/https://www.tug.org/TUGboat/tb16-3/tb48kinc.pdf |archive-date=2022-10-09 |url-status=live |title=MetaFog: Converting Metafont shapes to contours |author=Richard J. Kinch |date=1995 |journal=TUGboat |volume=16 |issue=3–Proceedings of the 1995 Annual Meeting}}</ref>
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Bézier curve
(section)
Add topic