EvaluateAtPoint Method (ISpline)

EvaluateAtPoint Method (ISpline) | Send Feedback
See Also

PointOnCurveX
  x coordinate of the point on the Spline

PointOnCurveY
  y coordinate of the point on the Spline

PointOnCurveZ
  z coordinate of the point on the Spline

Parameter[out]

  Corresponding U parameter at the specified point

Distance[out]

  Distance of the specified 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 corresponding U parameter, the distance from the start point, and the first and second derivatives at the specified point on the Spline.

# Syntax

Visual Basic |
--- | ---
    Sub EvaluateAtPoint( _
       ByVal PointOnCurveX As System.Double, _
       ByVal PointOnCurveY As System.Double, _
       ByVal PointOnCurveZ As System.Double, _
       ByRef Parameter As System.Double, _
       ByRef Distance As System.Double, _
       ByRef FirstDerivativeDblArray As System.Object, _
       ByRef SecondDerivativeDblArray As System.Object _
    )

C# |
--- | ---
    void EvaluateAtPoint(
       System.double PointOnCurveX,
       System.double PointOnCurveY,
       System.double PointOnCurveZ,
       out System.double Parameter,
       out System.double Distance,
       out System.object FirstDerivativeDblArray,
       out System.object SecondDerivativeDblArray
    )

JavaScript |
--- | ---
    EvaluateAtPoint(
       PointOnCurveX : Number,
       PointOnCurveY : Number,
       PointOnCurveZ : Number
    ) : {
       Parameter : Number,
       Distance : Number,
       FirstDerivativeDblArray : Array,
       SecondDerivativeDblArray : Array
    }

COM native C++ |
--- | ---
    HRESULT EvaluateAtPoint(
       DOUBLE PointOnCurveX,
       DOUBLE PointOnCurveY,
       DOUBLE PointOnCurveZ,
       DOUBLE* Parameter,
       DOUBLE* Distance,
       VARIANT* FirstDerivativeDblArray,
       VARIANT* SecondDerivativeDblArray
    )

C++ |
--- | ---
    DSRESULT EvaluateAtPoint(
       double PointOnCurveX,
       double PointOnCurveY,
       double PointOnCurveZ,
       double* Parameter,
       double* Distance,
       dsDoubleArray* FirstDerivativeDblArray,
       dsDoubleArray* SecondDerivativeDblArray
    )

#### Parameters

PointOnCurveX
  x coordinate of the point on the Spline
PointOnCurveY
  y coordinate of the point on the Spline
PointOnCurveZ
  z coordinate of the point on the Spline
Parameter[out]

  Corresponding U parameter at the specified point

Distance[out]

  Distance of the specified 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

####

ISpline Interface
ISpline Members
ISpline::EvaluateAtDistance Method
ISpline::EvaluateAtParameter Method
ISpline::GetClosestPointOn Method
ISpline::GetEndParams Method
ISpline::GetLength Method

# Availability

DraftSight V1R1.3