BezierGetCubicCurvePointsEquidistant Method

Return a collection of equidistantly spaced points along a cubic Bezier curve.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public static List<FPoint> GetCubicCurvePointsEquidistant(
	FPoint p0,
	FPoint p1,
	FPoint p2,
	FPoint p3,
	int count
)

Parameters

p0  FPoint
Starting point.
p1  FPoint
Control point 1.
p2  FPoint
Control point 2.
p3  FPoint
Ending point.
count  Int32
Count of points to sample on the curve.

Return Value

ListFPoint
Reference to a collection of equidistantly spaced points along the specified cubic curve that approximate the curve's natural edge.

Remarks

In this version, all segments except the last will be of exactly the same length and the last segment will absorb any minor discrepancy between the next-to-last point and the ending point.

See Also