|
IGeom3DCurve::ParamByPoint
Description
This method allows you to find the parameter value of a point on a curve, corresponding to the given point. Only guaranteed to be valid for points on the curve, though particular curve types may give useful curve-dependent results for other points.
Syntax
Param = ParamByPoint( Point, GuesParam );
Input: (Variant) Point |
Variant that contains double array of a point coordinates that belong to a curve. |
Input: (Double) GuessParam |
Estimated curve parameter near to which the point may lie. |
Return: (Double) Param |
If the point doesn't lie on a curve, return its parameter. |
Note
Before using this method, it is advisable to check the point using the IGeom3DCurve::TestPoint method to be sure that it lies on the curve.
All coordinates are given relative to the model's main UCS.
|