Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeCurve2d::getSamplePoints Method (double, double, double, OdGePoint2dArray&, OdGeDoubleArray*)
Syntax
C++
void getSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray& pointArray, OdGeDoubleArray* pParamArray = NULL) const;

Gets sample points along this curve and their parameter values to the specified arrays. 

 

Parameters
Description
fromParam
[in] Starting parameter value.
toParam
[in] Ending parameter value.
approxEps
[in] Approximate spacing along a curve.
pointArray
[out] Receives an array of sample points.
pParamArray
[out] Receives a pointer to an array of parameter values for each point.

By default this function throws exception "not Implemented". Should be implemented in derived classes.

Copyright © 2002-2022. Open Design Alliance All rights reserved.