Hide Table of Contents
EvaluateAtDistance Method (IPolyLine3D)

Gets the point on the 3D PolyLine that is closest to the specified distance from the start point. Also gets the corresponding U parameter and the first and second derivatives at that point.

.NET Syntax

Visual Basic (Declaration) 
Sub EvaluateAtDistance( _
   double Distance As System.Double, _
   double* PointOnCurveX As System.Double, _
   double* PointOnCurveY As System.Double, _
   double* PointOnCurveZ As System.Double, _
   double* Parameter As System.Double, _
   dsDoubleArray* FirstDerivativeDblArray As System.Object, _
   dsDoubleArray* SecondDerivativeDblArray As System.Object _
) 
C# 
void EvaluateAtDistance( 
   System.double Distance,
   out System.double PointOnCurveX,
   out System.double PointOnCurveY,
   out System.double PointOnCurveZ,
   out System.double Parameter,
   out System.object FirstDerivativeDblArray,
   out System.object SecondDerivativeDblArray
)
JavaScript 
EvaluateAtDistance( 
   Distance : Number
) : {
   PointOnCurveX : Number,
   PointOnCurveY : Number,
   PointOnCurveZ : Number,
   Parameter : Number,
   FirstDerivativeDblArray : Array,
   SecondDerivativeDblArray : Array
}
COM native C++ 
HRESULT EvaluateAtDistance( 
   DOUBLE Distance,
   DOUBLE* PointOnCurveX,
   DOUBLE* PointOnCurveY,
   DOUBLE* PointOnCurveZ,
   DOUBLE* Parameter,
   VARIANT* FirstDerivativeDblArray,
   VARIANT* SecondDerivativeDblArray
) 
C++ 
DSRESULT EvaluateAtDistance( 
   double Distance,
   double* PointOnCurveX,
   double* PointOnCurveY,
   double* PointOnCurveZ,
   double* Parameter,
   dsDoubleArray* FirstDerivativeDblArray,
   dsDoubleArray* SecondDerivativeDblArray
) 

Parameters

Distance
Distance from the start point
PointOnCurveX[out]
x coordinate of the point on the 3D PolyLine that is closest to the specified distance
PointOnCurveY[out]
y coordinate of the point on the 3D PolyLine that is closest to the specified distance
PointOnCurveZ[out]
z coordinate of the point on the 3D PolyLine that is closest to the specified distance
Parameter[out]
Corresponding U parameter at the point
FirstDerivativeDblArray[out]
Array of doubles indicating the first derivative at the point
SecondDerivativeDblArray[out] or Return Value

Array of doubles indicating the second derivative at the point

 

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:   EvaluateAtDistance Method (IPolyLine3D)
*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) 2020 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.