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)
|
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
See Also
Availability
SolidWorks 2000 SP3, Revision Number 8.3