Hide Table of Contents
IEvaluate Method (ICurve)

Evaluates the curve at the specified parameter of the curve.

.NET Syntax

Visual Basic (Declaration) 
Function IEvaluate( _
   ByVal Parameter As System.Double _
) As System.Double
Visual Basic (Usage) 
Dim instance As ICurve
Dim Parameter As System.Double
Dim value As System.Double
 
value = instance.IEvaluate(Parameter)
C# 
System.double IEvaluate( 
   System.double Parameter
)
C++/CLI 
System.double IEvaluate( 
&   System.double Parameter
) 

Parameters

Parameter

Curve parameter

Return Value

Pointer to an array of doubles (see Remarks)

Remarks

To determine a valid parameter range, use ICurve::GetEndParams or IEdge::GetCurveParams2 or IEdge::IGetCurveParams2.

The OLE Automation return value is an array of doubles with the following format:

[ PointX, PointY, PointZ, TangentX, TangentY, TangentZ, Success ]

where:

  • PointX, PointY, and PointZ represent the 3D point in space for the given parameter

  • TangentX, TangentY, and TangentZ represent the tangent vector at the point

  • True if the operation is successful

The COM return value is an array of 6 doubles representing the point and tangent. The success value is determined from the HRESULT return.

This method returns values in meters.

 

See Also



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:   IEvaluate Method (ICurve)
*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.