Hide Table of Contents
GetBCurveParams Method (ICurve)

Obsolete. Superseded by ICurve::GetBCurveParams3.

.NET Syntax

Visual Basic (Declaration) 
Function GetBCurveParams( _
   ByVal WantCubicIn As Boolean _
) As Object
Visual Basic (Usage) 
Dim instance As ICurve
Dim WantCubicIn As Boolean
Dim value As Object
value = instance.GetBCurveParams(WantCubicIn)
object GetBCurveParams( 
   bool WantCubicIn
Object^ GetBCurveParams( 
&   bool WantCubicIn



True returns cubic rational parameters, false does not

Return Value

Array describing the parameters of the curve (see Remarks)



To control the accuracy of the curve data, see IModeler::SetToleranceValue.

The return value is an array of doubles. The array size is ( 2 + numKnots + numControlPointDoubles) where numKnots is (numControlPoints + order). The array is as follows:

[ packedDouble1, packedDouble2, knot1, knot2,..., ControlPoint1[Dimension], ControlPoint2[Dimension],...


  • packedDouble1 is an integer pair containing the Dimension and Order
  • packedDouble2  is an integer pair containing the NumControlPoints and Periodicity
  • knot1
  • knot2


  • ControlPoint1[dimension]
  • ControlPoint2[dimension]


The size of the control point array is based on the curve dimension:

  • If Dimension = 3, then ControlPoint is an array of 3 doubles ( x, y, z )
  • If Dimension = 4, then ControlPoint is an array of 4 doubles ( x, y, z, w ) where
    w = weight

See Also

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   GetBCurveParams Method (ICurve)
*   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:


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

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.