Evaluate2 Method (ICoEdge)

Gets the (X,Y,Z) location and the tangency vector on the coedge at the specified position.

.NET Syntax

Visual Basic (Declaration)
```Function Evaluate2( _
ByVal Param As System.Double, _
ByVal NumberOfDerivatives As System.Integer _
) As System.Object```
Visual Basic (Usage)
```Dim instance As ICoEdge
Dim Param As System.Double
Dim NumberOfDerivatives As System.Integer
Dim value As System.Object

value = instance.Evaluate2(Param, NumberOfDerivatives)```
C#
```System.object Evaluate2(
System.double Param,
System.int NumberOfDerivatives
)```
C++/CLI
```System.Object^ Evaluate2(
&   System.double Param,
&   System.int NumberOfDerivatives
) ```

Parameters

Param

Curve parameter desired (U value desired for evaluation)

NumberOfDerivatives

Number of derivatives

Return Value

Array of doubles (see Remarks)

Remarks

The tangency vector is defined to be in the direction of the coedge.

The format of the return value is an array of (NumberOfDerivatives + 1) * 3 doubles:

[evaluated point], [evaluated derivative 1],...[evaluated derivative NumberOfDerivatives]

In pseudo mathematical notation, this can be written as:

P(t)  P(t)/dt  P(t)/dtdt ..........

In terms of the number of derivatives that can be returned for a curve type, you could write:

 Curve type Maximum number of derivatives Line/circle/ellipse 2 Intersection curve 2 Constant parameter line Determined by underlying surface SP-curve 2 B-curve Any number

where the curve type is from ICurve::Identity.

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

Availability

SOLIDWORKS 2007 SP5, Revision Number 15.5

Provide feedback on this topic

* Required

 *Email: Subject: Feedback on Help Topics Page: Evaluate2 Method (ICoEdge) *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) 2019 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.