Hide Table of Contents
IEvaluate2 Method (IEdge)

Evaluates the edge for the specified U parameter.

.NET Syntax

Visual Basic (Declaration) 
Function IEvaluate2( _
   ByVal Parameter As System.Double, _
   ByVal NumberOfDerivatives As System.Integer _
) As System.Double
Visual Basic (Usage) 
Dim instance As IEdge
Dim Parameter As System.Double
Dim NumberOfDerivatives As System.Integer
Dim value As System.Double
value = instance.IEvaluate2(Parameter, NumberOfDerivatives)
System.double IEvaluate2( 
   System.double Parameter,
   System.int NumberOfDerivatives
System.double IEvaluate2( 
&   System.double Parameter,
&   System.int NumberOfDerivatives


Curve parameter U value (see Remarks)
Number of derivatives (see Remarks)

Return Value

Array of doubles  (see Remarks)


Use IEdge::IGetCurveParams2 to determine the valid range of U parameter values for Parameter.

The returned array contains ((NumberOfDerivatives + 1) * 3) + 1 doubles:

[evaluated_point], [evaluated_derivative_1],...[evaluated_derivative_NumberOfDerivatives, [status_code]

where status_code is a packed double. After unpacking status_code into two longs, the lower long value is 1 for success or 0 for error. See the Example in IEdge::Evaluate2

If curve type ICurve::Identity is...

Then the maximum number of derivatives is...



Intersection curve


Constant parameter line

Determined by underlying surface




Any number


For a curve of type swCurveTypes_e::TRIMMED_TYPE, the number of derivatives is determined by the base curve as obtained from ICurve::GetBaseCurve.


See Also


SOLIDWORKS 2007 SP5, Revision Number 15.5

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

Subject:   Feedback on Help Topics
Page:   IEvaluate2 Method (IEdge)
*   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:


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

Web Help Content Version: API Help (English only) 2018 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.