BezierCurveFlattenerIsBezierSegmentFlatEnough Method |
Tests whether a cubic Bezier segment is sufficiently flat according to the absolute deviation
and angle deviation criteria.
Namespace: Altaxo.GeometryAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic 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
BooleanTrue if the segment is flat enough; otherwise, false.
See Also