Click or drag to resize

BezierCurveFlattenerIsBezierSegmentFlatEnough Method

Tests whether a cubic Bezier segment is sufficiently flat according to the absolute deviation and angle deviation criteria.

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public bool IsBezierSegmentFlatEnough(
	PointD2D p0,
	PointD2D p1,
	PointD2D p2,
	PointD2D p3
)

Parameters

p0  PointD2D
Segment start point.
p1  PointD2D
First control point.
p2  PointD2D
Second control point.
p3  PointD2D
Segment end point.

Return Value

Boolean
True if the segment is flat enough; otherwise, false.
See Also