BezierCurve2D Class |
Namespace: Demo3D.Common
public class BezierCurve2D
The BezierCurve2D type exposes the following members.
| Name | Description | |
|---|---|---|
| BezierCurve2D |
Constructor.
| |
| BezierCurve2D(IEnumerableVector2) |
Constructor.
|
| Name | Description | |
|---|---|---|
| Add |
Adds a control point.
| |
| AddRange |
Adds a list of control points.
| |
| ApproximateLength(Int32) |
Approximates the length of the bezier curve by subdividing the curve into the specified
number of linear segments and summing the Euclidean distances.
| |
| ApproximateLength(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.
| |
| Clear |
Clears the list of control points.
| |
| Interpolate |
Interpolates the bezier curve at the specified fractional distance along the curve.
|