Hide Table of Contents
GetBCurveParams3 Method (ICurve)

Obsolete. Superseded by ICurve::GetBCurveParams4

.NET Syntax

Visual Basic (Declaration) 
Function GetBCurveParams3( _
   ByVal WantCubicIn As System.Boolean, _
   ByVal WantNRational As System.Boolean, _
   ByVal ForceNonPeriodic As System.Boolean _
) As System.Object
Visual Basic (Usage) 
Dim instance As ICurve
Dim WantCubicIn As System.Boolean
Dim WantNRational As System.Boolean
Dim ForceNonPeriodic As System.Boolean
Dim value As System.Object
 
value = instance.GetBCurveParams3(WantCubicIn, WantNRational, ForceNonPeriodic)
C# 
System.object GetBCurveParams3( 
   System.bool WantCubicIn,
   System.bool WantNRational,
   System.bool ForceNonPeriodic
)
C++/CLI 
System.Object^ GetBCurveParams3( 
&   System.bool WantCubicIn,
&   System.bool WantNRational,
&   System.bool ForceNonPeriodic
) 

Parameters

WantCubicIn

True returns cubic rational parameters, false does not

WantNRational

True returns cubic rational parameters, false does not

ForceNonPeriodic

True converts the periodic curve to nonperiodic, false does not

Return Value

Array describing the parameters of the curve

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

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

Availability

SOLIDWORKS 2007 SP5, Revision Number 15.5


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:   GetBCurveParams3 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) 2016 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.