Hide Table of Contents
IGetSplinesInterpolate Method (ISketchBlockDefinition)

Gets all of the parameers of the splines by interpolation instead of by tessellation as is done by ISketch::GetSplines2 and ISketch::IGetSplines2.

.NET Syntax

Visual Basic (Declaration) 
Function IGetSplinesInterpolate( _
   ByVal ArraySize As System.Integer _
) As System.Double
Visual Basic (Usage) 
Dim instance As ISketchBlockDefinition
Dim ArraySize As System.Integer
Dim value As System.Double
 
value = instance.IGetSplinesInterpolate(ArraySize)
C# 
System.double IGetSplinesInterpolate( 
   System.int ArraySize
)
C++/CLI 
System.double IGetSplinesInterpolate( 
&   System.int ArraySize
) 

Parameters

ArraySize

Number of elements in the return array

 

Remarks

Call ISketchBlockDefinition::GetSplineInterpolateCount before calling this method to get the value for ArraySize.

 

The return value is an array of doubles formatted as:

 

[ [NumSplinePoints, [x, y, z] ], ]

 

This complete set of data repeats itself for each spline found in the sketch block definition. For each spline, the array returned contains the number of spline points in the spline, and the X,Y,Z value for each of those points.

 

The [x,y,z] parameter is an array of NumSplinePoints. For example, if your sketch block definition has two splines and each spline has three points, then the data would be in the following format:

 

[ 3, x1_1, y1_1, z1_1, x2_1, y2_1, z2_1, x3_1, y3_1, z3_1, 3, x1_2, y1_2, z1_2, x2_2, y2_2, z2_2, x3_2, y3_2, z3_2 ]

 

The [x,y,z] points for each spline are the same points used to generate the spline.

 

See Also

Availability

SOLIDWORKS 2007 SP2, Revision Number 15.2


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:   IGetSplinesInterpolate Method (ISketchBlockDefinition)
*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) 2017 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.