API Reference > OdDg Classes > OdDgBSplineCurve2d Class > OdDgBSplineCurve2d Methods > OdDgBSplineCurve2d::getDistAtParam Method
OdDgBSplineCurve2d::getDistAtParam Method
Syntax
C++
virtual OdResult getDistAtParam(double param, double& dist) const;
Parameters 
Description 
double param 
[in] Parameter specifying point.  
double& dist 
[out] Receives the distance. 

Returns eOk if successful, or an appropriate error code if not.

Returns the distance along this Curve object from its start point to the point specified by param. 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.