Hide Table of Contents
IGetControlPoints Method (ISplineParamData)

Gets the coordinates of all control points of the spline.

.NET Syntax

Visual Basic (Declaration) 
Function IGetControlPoints( _
   ByVal Count As Integer, _
   ByRef ControlPoints As Double _
) As Boolean
Visual Basic (Usage) 
Dim instance As ISplineParamData
Dim Count As Integer
Dim ControlPoints As Double
Dim value As Boolean
 
value = instance.IGetControlPoints(Count, ControlPoints)
C# 
bool IGetControlPoints( 
   int Count,
   out double ControlPoints
)
C++/CLI 
bool IGetControlPoints( 
&   int Count,
&   [Out] double ControlPoints
) 

Parameters

Count
Size of ControlPoints array
ControlPoints
  • in-process, unmanaged C++: Pointer to an array of doubles
  • VBA, VB.NET, C#, and C++/CLI: Not supported
  •  

    See In-process Methods for details about this type of method.

    Return Value

    True if successful, false if not

    Remarks

    Before calling this method, call ISplineParamData::ControlPointsCount to populate the Count parameter.

    Control points determine the shape of a spline or curve. Starting with a set control points, all other points of a spline can be calculated. A given point on the spline is calculated using the polynomial basis functions of its nearest control points. The knot vector determines which control point basis functions are in force for calculating each point along a curve.

    The size of the ControlPoints array is based on the curve dimension:

    • if dimension = 2 then each Control Point has 2 doubles ( x, y )

    • if dimension = 3 then each Control Point has 3 doubles ( x, y, z)

    • if dimension = 4 then each Control Point has 4 doubles ( x, y, z, w ) where w = weight

    Size of ControlPoints array = control points count X dimension

     

    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:   IGetControlPoints Method (ISplineParamData)
    *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) 2011 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.