Hide Table of Contents
GetControlPoints 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 GetControlPoints( _
   ByVal Row As System.Integer, _
   ByVal Column As System.Integer _
) As System.Object
Visual Basic (Usage) 
Dim instance As IBSurfParamData
Dim Row As System.Integer
Dim Column As System.Integer
Dim value As System.Object
 
value = instance.GetControlPoints(Row, Column)
C# 
System.object GetControlPoints( 
   System.int Row,
   System.int Column
)
C++/CLI 
System.Object^ GetControlPoints( 
&   System.int Row,
&   System.int Column
) 

Parameters

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

Return Value

Array of control point coordinates

Example

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:   GetControlPoints 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) 2015 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.