Hide Table of Contents
GetBCurveParams5 Method (ICurve)

Gets a data object containing the parameters of a Bézier curve.

.NET Syntax

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

Parameters

WantCubicIn

True to return cubic parameters, false to not

WantNRational

True to return non-rational parameters; false to return rational parameters

ForceNonPeriodic

True to convert the curve from periodic to nonperiodic, false to not (see Remarks)

IsClosed
True for a closed curve, false for an open curve (see Remarks)

Return Value

An ISplineParamData object (see Remarks)

Example

Remarks

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

If a Bézier curve is closed (IsClosed = true) and periodic (ForceNonPeriodic = false), the seam at the juncture of the beginning and end of the curve is continuous and smooth. The data returned in this form contains a single knot at the juncture.

If a Bézier curve is closed (IsClosed = true) and non-periodic (ForceNonPeriodic = true), the seam at the juncture is continuous, contains a cusp, and is not smooth. The data returned in this form contains multiple knots at each end of the curve.

Obsolete versions of this method automatically treated closed Bézier curves as periodic. The cusp at the juncture of a closed non-periodic curve (e.g., a tear drop) was lost using these methods. This method provides more flexibility for specifying precisely which form of the curve to get to prevent unintentional data loss.

This method returns the parameterization data of the Bézier curve in an ISplineParamData object instead of an array. Call the methods and properties of ISplineParamData to obtain the control points, knot points, dimension, order, and periodicity of the curve.

 

See Also

Availability

SOLIDWORKS 2011 FCS, Revision Number 19.0


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:   GetBCurveParams5 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.