Click or drag to resize
AB4D logo

BezierCurve Methods

The BezierCurve type exposes the following members.

Methods
 NameDescription
Public methodCreateBezierCurve(Int32) Returns a Point3DCollection that defines the Bezier curve. The curve positions are created using a fixed number of positions per segment. This is very fast to computer, but can generate too many points along nearly straight sections and too few where the curve bends sharply.
Public methodStatic memberCreateBezierCurve(IListPoint3D, Int32) Returns a Point3DCollection that defines the Bezier curve with the specified controlPoints (contains points on the curve and tangent control points).
Public methodCreateBezierCurve(Double, Double, Int32) Returns a Point3DCollection that defines the Bezier curve. The curve positions are created using an adaptive algorithm that adds more points where the curvature is higher. This takes longer to compute than when using fixed positionsPerSegment, but generates smoother curves with less positions.
Public methodStatic memberCreateBezierCurveThroughPoints(IListPoint3D, Int32) Returns a Point3DCollection that defines the Bezier curve that goes through curvePositions. The curve positions are created using a fixed number of positions per segment. This is very fast to computer, but can generate too many points along nearly straight sections and too few where the curve bends sharply.
Public methodStatic memberCreateBezierCurveThroughPoints(IListPoint3D, Double, Int32) Returns a Point3DCollection that defines the Bezier curve that goes through curvePositions. The curve positions are created using a fixed number of positions per segment. This is very fast to computer, but can generate too many points along nearly straight sections and too few where the curve bends sharply.
Public methodStatic memberCreateBezierCurveThroughPoints(IListPoint3D, Double, Double, Int32) Returns a Point3DCollection that defines the Bezier curve that goes through curvePositions. The curve positions are created using an adaptive algorithm that adds more points where the curvature is higher. This takes longer to compute than when using fixed positionsPerSegment, but generates smoother curves with less positions.
Public methodStatic memberCreateBezierCurveThroughPoints(IListPoint3D, Double, Double, Double, Int32) Returns a Point3DCollection that defines the Bezier curve that goes through curvePositions. The curve positions are created using an adaptive algorithm that adds more points where the curvature is higher. This takes longer to compute than when using fixed positionsPerSegment, but generates smoother curves with less positions.
Public methodStatic memberCreateFromCurvePositions(IListPoint3D) Returns an instance of BezierCurve that is created by the curvePositions. The method calculates all the control points (tangent positions) based on the default curve scale.
Public methodStatic memberCreateFromCurvePositions(IListPoint3D, Double) Returns an instance of BezierCurve that is created by the curvePositions. The method calculates all the control points (tangent positions) based on the curveScale.
Public methodGetPositionOnCurve Returns a Point3D that lies on the Bezier curve. The t argument can have any value from 0 to 1; 0 meaning the first control point and 1 meaning the last control point.
Top
See Also