Gets the b-spline surface parameters for the surface.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetBSurfParams2( _
ByVal WantCubic As Boolean, _
ByVal WantNonRational As Boolean, _
ByVal VP0 As Object, _
ByVal Tolerance As Double, _
ByRef Sense As Boolean _
) As Object |
Visual Basic (Usage) | |
---|
Dim instance As ISurface
Dim WantCubic As Boolean
Dim WantNonRational As Boolean
Dim VP0 As Object
Dim Tolerance As Double
Dim Sense As Boolean
Dim value As Object
value = instance.GetBSurfParams2(WantCubic, WantNonRational, VP0, Tolerance, Sense)
|
Parameters
- WantCubic
- True if cubic is needed, false if not; specifying true converts any surface type to a cubic Bsurface
- 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
- VP0
- Array of values describing the UV range of the surface to be output; you can obtain these values by using ISurface::Parameterization or ISurface::IParameterization
- 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
Array of values giving the b-spline surface parameters
Remarks
See Also
Availability
SolidWorks 2000 SP3, Revision Number 8.3