API Reference > OdGe Classes > OdGeCurve2d Class > OdGeCurve2d Methods > appendSamplePoints Method > OdGeCurve2d::appendSamplePoints Method (double, double, double, OdGePoint2dArray&, OdGeDoubleArray*)
OdGeCurve2d::appendSamplePoints Method (double, double, double, OdGePoint2dArray&, OdGeDoubleArray*)
Syntax
C++
void appendSamplePoints(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] Pointer an array of sample points which are appended.  
OdGeDoubleArray* pParamArray = NULL 
[in] Pointer to an array to receive the parameters at each point. 

Appends 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.