Hide Table of Contents
IGetControlPoints Method (IBSurfParamData)

Gets the coordinates of a control point at a specific row and column of the control point matrix.

.NET Syntax

Visual Basic (Declaration) 
Function IGetControlPoints( _
   ByVal Row As System.Integer, _
   ByVal Column As System.Integer, _
   ByVal Count As System.Integer _
) As System.Double
Visual Basic (Usage) 
Dim instance As IBSurfParamData
Dim Row As System.Integer
Dim Column As System.Integer
Dim Count As System.Integer
Dim value As System.Double
 
value = instance.IGetControlPoints(Row, Column, Count)
C# 
System.double IGetControlPoints( 
   System.int Row,
   System.int Column,
   System.int Count
)
C++/CLI 
System.double IGetControlPoints( 
&   System.int Row,
&   System.int Column,
&   System.int Count
) 

Parameters

Row
1 <= index of row <= ControlPointRowCount
Column
1 <= index of column <= ControlPointColumnCount
Count
ControlPointDimension

Return Value

  • 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.

  • Remarks

    Control points are stored in (ControlPointColumnCount*ControlPointRowCount) vectors of dimension ControlPointDimension. The U direction of surface is in the row direction. The V direction of surface is in the column direction.

    • For non-rational surfaces ControlPointDimension = 3, and control point coordinates are stored as [x0,y0,z0,x1,y1,z1,.........].

    • For rational surfaces ControlPointDimension = 4, and control point coordinates and weights are stored as [x0,y0,z0,w0,x1,y1,z1,w1,........].

    • For example, 6 control points are stored in 6 vectors of dimension 3 in a 2X3 matrix as follows:

    Row1, Column1 Row1, Column2 # Coordinates
    x0, y0, z0 x1, y1, z1 = 6
         
    Row2, Column1 Row2, Column2
    x2, y2, z2 x3, y3, z3 = 6
         
    Row3, Column1 Row3, Column2
    x4, y4, z4 x5, y5, z5 = 6
         
    Total = 18

     

    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 (IBSurfParamData)
    *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.