|
![]() |
Renders a 2D segment of a 3rd order Bezier curve.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
Visual Basic |
---|
Public Sub BezierSegment ( _ start As Point2D, _ control As Point2D, _ end As Point2D, _ resolution As Integer _ ) |
C# |
---|
public void BezierSegment( Point2D start, Point2D control, Point2D end, int resolution ) |
Visual C++ |
---|
public: void BezierSegment( Point2D^ start, Point2D^ control, Point2D^ end, int resolution ) |
Parameters
- start
- Type: Autodesk.Navisworks.Api..::..Point2D
Start point of the segment.
- control
- Type: Autodesk.Navisworks.Api..::..Point2D
Control point for segment.
- end
- Type: Autodesk.Navisworks.Api..::..Point2D
- resolution
- Type: System..::..Int32
Number of points to evaluate along the Bezier.
Remarks
The curve interpolates the start and end points and is controlled by the control point.
Exceptions
Exception | Condition |
---|---|
System..::..ObjectDisposedException | Object has been Disposed |
System..::..NotSupportedException | Object is Read-Only |
System..::..ArgumentNullException | Argument 'start' is null |
System..::..ArgumentException | Argument 'start' has been Disposed |
System..::..ArgumentNullException | Argument 'control' is null |
System..::..ArgumentException | Argument 'control' has been Disposed |
System..::..ArgumentNullException | Argument 'end' is null |
System..::..ArgumentException | Argument 'end' has been Disposed |