Hide Table of Contents
IGetBCurveParams Method (ICurve)

Obsolete. Superseded by ICurve::IGetBCurveParams3.

.NET Syntax

Visual Basic (Declaration) 
Function IGetBCurveParams() As Double
Visual Basic (Usage) 
Dim instance As ICurve
Dim value As Double
 
value = instance.IGetBCurveParams()
C# 
double IGetBCurveParams()
C++/CLI 
double IGetBCurveParams(); 

Return Value

Pointer to an array of doubles describing the parameters of the curve (see Remarks)

Example

Remarks

Call ICurve::IGetBCurveParamsSize2 to determine the size of the array returned and whether the curve data returned by ICurve::IGetBCurveParams is cubic rational or not.

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],...
]

where:

  • 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

 
*Email:  
Subject:   Feedback on Help Topics
Page:   IGetBCurveParams 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.