src/swipl-devel/packages/xpce/man/refmanual/md/bezier_curve.md

class bezier_curve {#class-bezier_curve}

Class bezier_curve implements Bezier curves. A bezier smooth curve is a curve from <-start to <-end using either one or two control-points. They are used to create a smooth connection from a certain point leaving at a defined direction to another point arriving in some direction.

XPCE's class bezier_curve is a subclass of class joint, inheriting the possibility to have arrow objects at either end of the curve.

To get a feeling for the behaviour of this class, please try PceDraw from the demo programs (File/Demo Programs).

When ->selected, the system will show the control-points connected by dotted lines.

A good description of the details on Bezier curves can be found at http://graphics.cs.ucdavis.edu/CAGDNotes/ See also class path.

Instance variables {#class-bezier_curve-instvars}

Send methods {#class-bezier_curve-send}

Get methods {#class-bezier_curve-get}



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on June 16, 2026, 5:07 p.m.