GdiExtensionMethodsFlattenBezierSegment Method |
Flattens a bezier segment, using only an absolute tolerance. The flattened points are stored together with their curve parameter t.
Namespace: Altaxo.Graph.GdiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool FlattenBezierSegment(
double absoluteTolerance,
int maxRecursionLevel,
PointF p0_0,
PointF p1_0,
PointF p2_0,
PointF p3_0,
float t0,
float t1,
List<Tuple<float, PointF>> flattenedList,
int insertIdx
)
Parameters
- absoluteTolerance Double
- The absolute tolerance used for the flattening.
- maxRecursionLevel Int32
- The maximum recursion level.
- p0_0 PointF
- The p0 0.
- p1_0 PointF
- The p1 0.
- p2_0 PointF
- The p2 0.
- p3_0 PointF
- The p3 0.
- t0 Single
- The curve parameter that corresponds to the point p0_0.
- t1 Single
- The curve parameter that corresponds to the point p3_0.
- flattenedList ListTupleSingle, PointF
- The list with flattened points.
- insertIdx Int32
- Index in the flattenedList where to insert the next calculated point.
Return Value
Boolean[Missing <returns> documentation for "M:Altaxo.Graph.Gdi.GdiExtensionMethods.FlattenBezierSegment(System.Double,System.Int32,System.Drawing.PointF,System.Drawing.PointF,System.Drawing.PointF,System.Drawing.PointF,System.Single,System.Single,System.Collections.Generic.List{System.Tuple{System.Single,System.Drawing.PointF}},System.Int32)"]
See Also