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& paramArray) 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] Returns an array of sample points.  
OdGeDoubleArray& paramArray 
[out] Returns an array of parameters at each point. 

Returns sample points along this curve and their parameter values in the specified arrays. 

 

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