Click or drag to resize

BezierCurveFlattenerFlattenPolyBezierCurve(PointD2D, IListPointD2D, ListPointD2D) Method

Flattens a poly Bezier curve and appends the resulting points to the provided flattenedList.

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public void FlattenPolyBezierCurve(
	PointD2D startPoint,
	IList<PointD2D> bezierPoints,
	List<PointD2D> flattenedList
)

Parameters

startPoint  PointD2D
The starting point of the first segment.
bezierPoints  IListPointD2D
Control points for subsequent segments. Must contain a count that is a multiple of 3 (three per segment).
flattenedList  ListPointD2D
The list to receive points of the flattened curve.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when bezierPoints is null.
ArgumentExceptionThrown when bezierPoints count is invalid (must be ≥ 3 and a multiple of 3).
See Also