Click or drag to resize

BezierCurve2D Class

Bezier curve in two dimensions.
Inheritance Hierarchy
SystemObject
  Demo3D.CommonBezierCurve2D

Namespace: Demo3D.Common
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntax
C#
public class BezierCurve2D

The BezierCurve2D type exposes the following members.

Constructors
 NameDescription
Public methodBezierCurve2D Constructor.
Public methodBezierCurve2D(IEnumerableVector2) Constructor.
Top
Methods
 NameDescription
Public methodAdd Adds a control point.
Public methodAddRange Adds a list of control points.
Public methodApproximateLength(Int32) Approximates the length of the bezier curve by subdividing the curve into the specified number of linear segments and summing the Euclidean distances.
Public methodApproximateLength(Double, Double, Int32) Approximates the length of the bezier curve between from and to by subdividing the curve interval into the specified number of linear segments and summing the Euclidean distances.
Public methodClear Clears the list of control points.
Public methodInterpolate Interpolates the bezier curve at the specified fractional distance along the curve.
Top
See Also