Hide Table of Contents
GetSplineEdgeData Method (IHatchBoundaryLoop)

Gets the specified Spline data for the Hatch boundary.

.NET Syntax

Visual Basic (Declaration) 
Sub GetSplineEdgeData( _
   long Index As System.Integer, _
   long* Degree As System.Integer, _
   bool* Rational As System.Boolean, _
   bool* Periodic As System.Boolean, _
   dsDoubleArray* KnotValuesDblArray As System.Object, _
   dsDoubleArray* ControlPointsDblArray As System.Object _
) 
C# 
void GetSplineEdgeData( 
   System.int Index,
   out System.int Degree,
   out System.bool Rational,
   out System.bool Periodic,
   out System.object KnotValuesDblArray,
   out System.object ControlPointsDblArray
)
JavaScript 
GetSplineEdgeData( 
   Index : Number
) : {
   Degree : Number,
   Rational : Boolean,
   Periodic : Boolean,
   KnotValuesDblArray : Array,
   ControlPointsDblArray : Array
}
COM native C++ 
HRESULT GetSplineEdgeData( 
   LONG Index,
   LONG* Degree,
   VARIANT_BOOL* Rational,
   VARIANT_BOOL* Periodic,
   VARIANT* KnotValuesDblArray,
   VARIANT* ControlPointsDblArray
) 
C++ 
DSRESULT GetSplineEdgeData( 
   long Index,
   long* Degree,
   bool* Rational,
   bool* Periodic,
   dsDoubleArray* KnotValuesDblArray,
   dsDoubleArray* ControlPointsDblArray
) 

Parameters

Index
Index of edge whose data to get (see Remarks)
Degree[out]
Degree of the spline
Rational[out]
True if the control points of the spline are weighted, false if not
Periodic[out]
True if periodic, false if non-periodic
KnotValuesDblArray[out]
Array of doubles of the knot values
ControlPointsDblArray[out] or Return Value
Array of doubles of the control points

Example

Remarks

This method is valid only when IHatchBoundaryLoop::GetEdgeType is dsHatchEdgeType_e.dsHatchEdgeType_Spline.

Before calling this method, call IHatchBoundaryLoop::GetEdgesCount to determine a valid value for Index.

 

See Also

Availability

DraftSight V1R1.3


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:   GetSplineEdgeData Method (IHatchBoundaryLoop)
*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) 2023 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.