ConvertArcToBcurve Method (ICurve)

Gets the b-spline value representation of the arc.

.NET Syntax

Visual Basic (Declaration)
```Function ConvertArcToBcurve( _
ByVal Center As Object, _
ByVal Axis As Object, _
ByVal Start As Object, _
ByVal End As Object _
) As Object```
Visual Basic (Usage)
``````Dim instance As ICurve
Dim Center As Object
Dim Axis As Object
Dim Start As Object
Dim End As Object
Dim value As Object

value = instance.ConvertArcToBcurve(Center, Axis, Start, End)``````
C#
```object ConvertArcToBcurve(
object Center,
object Axis,
object Start,
object End
)```
C++/CLI
```Object^ ConvertArcToBcurve(
&   Object^ Center,
&   Object^ Axis,
&   Object^ Start,
&   Object^ End
) ```

Parameters

Center
Array for the x, y, z coordinates of the center point of the
arc
Axis
Array for the normal vector of the arc
Start
Array for the x, y, z coordinates of the start point of the arc
End
Array for the x, y, z coordinates of the end point of the arc

Return Value

Array for the b-spline representation of the arc

Remarks

Given coordinates of the center, start, end points and the normal vector of an arc, this method returns the b-spline representation of the arc.

The returned data are doubles arranged in the following order:

 dim, order Two integers packed into a double. dim Dimension of the control point data. If dim=3 (non-rational), control point coordinates are returned as [x0,y0,z0,x1,y1,z1,.....]. If dim=4 (rational), control point coordinates are returned as [x0,y0,z0,w0,x1,y1,z1,w1,.....], where w is the weight for the point. order Order of the b-spline returned. NumControlPoints, Periodic Two integers packed into a double. NumControlPoints Number of control points for the b-spline. Periodic True if the b-spline is periodic. Knots Knot vectors. The Knot array contains (NumControlPoints + order) knot values. If the original curve is periodic, then the data is returned in a non-periodic form with extra knots inserted at the curve ends. ControlPoints List of control points output in (NumControlPoints) vectors of dimension dim. For non-rational b-spline, control point coordinates are output as [x0,y0,z0,x1,y1,z1,.........]. For rational b-spline, control point coordinates and the weight are output as [x0,y0,z0,w0,x1,y1,z1,w1,........], where w is the weight for the point.

Provide feedback on this topic

* Required

 *Email: Subject: Feedback on Help Topics Page: ConvertArcToBcurve Method (ICurve) *Comment: * I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

Never show this message again
x

Web Help Content Version: API Help (English only) 2010 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.