Click or drag to resize
AB4D logo

BezierCurveCreateBezierCurveThroughPoints(IListPoint3D, Double, Int32) Method

Returns a Point3DCollection that defines the Bezier curve that goes through curvePositions.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static Point3DCollection CreateBezierCurveThroughPoints(
	IList<Point3D> curvePositions,
	double curveScale,
	int positionsPerSegment
)

Parameters

curvePositions  IListPoint3D
list of positions on the curve
curveScale  Double
curve scale that define how far from the curve positions the tangent control points are defined. This way the curve scale defines the curvature of the curve.
positionsPerSegment  Int32
number of additional points to make the curve smooth - bigger value creates smoother curve

Return Value

Point3DCollection
Point3DCollection that defines the Bezier curve
See Also