EvaluateAtParameter Method (ILine) Send Feedback
See Also 
Parameter
U parameter on the Line
PointOnCurveX[out]
x coordinate of the point on the Line corresponding to the U parameter
PointOnCurveY[out]
y coordinate of the point on the Line corresponding to the U parameter
PointOnCurveZ[out]
z coordinate of the point on the Line corresponding to the U parameter
Distance[out]
Distance of the point from the start 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 Line corresponding to the specified U parameter and gets the two derivatives at the point. Also gets the distance of the point from the start point.

Syntax

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

Parameters

Parameter
U parameter on the Line
PointOnCurveX[out]
x coordinate of the point on the Line corresponding to the U parameter
PointOnCurveY[out]
y coordinate of the point on the Line corresponding to the U parameter
PointOnCurveZ[out]
z coordinate of the point on the Line corresponding to the U parameter
Distance[out]
Distance of the point from the start 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