Hide Table of Contents
IGetBSurfParamsSize3 Method (ISurface)

Gets the allocation size necessary for Bsurface parameter data retrieval in a subsequent call to ISurface::IGetBSurfParams.

.NET Syntax

Visual Basic (Declaration) 
Function IGetBSurfParamsSize3( _
   ByVal WantCubic As Boolean, _
   ByVal WantNonRational As Boolean, _
   ByRef Range As Double, _
   ByVal Tolerance As Double, _
   ByRef Sense As Boolean _
) As Integer
Visual Basic (Usage) 
Dim instance As ISurface
Dim WantCubic As Boolean
Dim WantNonRational As Boolean
Dim Range As Double
Dim Tolerance As Double
Dim Sense As Boolean
Dim value As Integer
 
value = instance.IGetBSurfParamsSize3(WantCubic, WantNonRational, Range, Tolerance, Sense)
C# 
int IGetBSurfParamsSize3( 
   bool WantCubic,
   bool WantNonRational,
   ref double Range,
   double Tolerance,
   out bool Sense
)
C++/CLI 
int IGetBSurfParamsSize3( 
&   bool WantCubic,
&   bool WantNonRational,
&   double% Range,
&   double Tolerance,
&   [Out] bool Sense
) 

Parameters

WantCubic

True for surface to be a cubic, false for not

WantNonRational

True if non-rational is needed, false if not; specifying true converts any surface type to a non-rational Bsurface; if you specify true, then you should only use this method for surfaces that are Bsurface or blend surface; otherwise, the underlying call is not made and the values returned from this are not initialized or contain the values from the last call

Range
Array of 4 doubles describing the U,V Range
Tolerance

Tolerance, in meters, between the approximated b-spline surface and the underlying surface; the default value is 0.01 and should generally be reduced to the tolerance desired

Sense

Approximated b-spline surface is not always in the same direction as the original surface; if sense is true, then the underlying surface and the b-spline surface are in the same direction

Return Value

Size of the data set

Remarks

Range contains the following values that can be obtained using ISurface::Parameterization or ISurface::IParameterization:

  • Range[0] & Range[2] are the lower bounds of the U & V surface parameters respectively.

  • Range[1] & Range[3] are the upper bounds of the U & V surface parameters respectively.

 

See Also

Availability

SolidWorks 2000 SP3, Revision Number 8.3


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:   IGetBSurfParamsSize3 Method (ISurface)
*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) 2012 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.