API Reference > OdGe Classes > OdGeCurve2d Class > OdGeCurve2d Methods > getSamplePoints Method > OdGeCurve2d::getSamplePoints Method (double, double, double, OdGePoint2dArray&, OdGeDoubleArray*)
OdGeCurve2d::getSamplePoints Method (double, double, double, OdGePoint2dArray&, OdGeDoubleArray*)
Syntax
C++
void getSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray& pointArray, OdGeDoubleArray* pParamArray = NULL) const;
Parameters 
Description 
double fromParam 
[in] Starting parameter value.  
double toParam 
[in] Ending parameter value.  
double approxEps 
[in] Approximate spacing along a curve.  
OdGePoint2dArray& pointArray 
[out] Receives an array of sample points.  
OdGeDoubleArray* pParamArray = NULL 
[out] Receives a pointer to an array of parameter values for each point. 

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

 

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

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