Visual Basic | |
---|---|
Sub GetClosestPointOn( _ ByVal GivenPointX As System.Double, _ ByVal GivenPointY As System.Double, _ ByVal GivenPointZ As System.Double, _ ByRef PointOnCurveX As System.Double, _ ByRef PointOnCurveY As System.Double, _ ByRef PointOnCurveZ As System.Double _ ) |
C# | |
---|---|
void GetClosestPointOn( System.double GivenPointX, System.double GivenPointY, System.double GivenPointZ, out System.double PointOnCurveX, out System.double PointOnCurveY, out System.double PointOnCurveZ ) |
JavaScript | |
---|---|
GetClosestPointOn( GivenPointX : Number, GivenPointY : Number, GivenPointZ : Number ) : { PointOnCurveX : Number, PointOnCurveY : Number, PointOnCurveZ : Number } |
COM native C++ | |
---|---|
HRESULT GetClosestPointOn( DOUBLE GivenPointX, DOUBLE GivenPointY, DOUBLE GivenPointZ, DOUBLE* PointOnCurveX, DOUBLE* PointOnCurveY, DOUBLE* PointOnCurveZ ) |
C++ | |
---|---|
DSRESULT GetClosestPointOn( double GivenPointX, double GivenPointY, double GivenPointZ, double* PointOnCurveX, double* PointOnCurveY, double* PointOnCurveZ ) |
Parameters
- GivenPointX
- x coordinate of a point
- GivenPointY
- y coordinate of a point
- GivenPointZ
- z coordinate of a point
- PointOnCurveX[out]
- x coordinate of the point on the Spline that is closest to the given point
- PointOnCurveY[out]
- y coordinate of the point on the Spline that is closest to the given point
- PointOnCurveZ[out] or Return Value
- z coordinate of the point on the Spline that is closest to the given point
ISpline Interface
ISpline Members
ISpline::EvaluateAtDistance Method
ISpline::EvaluateAtParameter Method
ISpline::EvaluateAtPoint Method
ISpline::GetEndParams Method
ISpline::GetLength Method
ISpline Members
ISpline::EvaluateAtDistance Method
ISpline::EvaluateAtParameter Method
ISpline::EvaluateAtPoint Method
ISpline::GetEndParams Method
ISpline::GetLength Method
DraftSight V1R1.3