EvaluateAtDistance Method (ICircle) Send Feedback
See Also 
Distance
Distance from the start point
PointOnCurveX[out]
x coordinate of the point on the Circle closest to the specified distance
PointOnCurveY[out]
y coordinate of the point on the Circle closest to the specified distance
PointOnCurveZ[out]
z coordinate of the point on the Circle 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]
Array of doubles indicating the second derivative at the point
Gets the point on the Circle closest to the specified distance from the start point. Also gets the corresponding U parameter and two derivatives at that point.

Syntax

Visual Basic 
Sub EvaluateAtDistance( _
   ByVal Distance As System.Double, _
   ByRef PointOnCurveX As System.Double, _
   ByRef PointOnCurveY As System.Double, _
   ByRef PointOnCurveZ As System.Double, _
   ByRef Parameter As System.Double, _
   ByRef FirstDerivativeDblArray As System.Object, _
   ByRef 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 Circle closest to the specified distance
PointOnCurveY[out]
y coordinate of the point on the Circle closest to the specified distance
PointOnCurveZ[out]
z coordinate of the point on the Circle 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