API Reference > OdGe Classes > OdGeCurve3d Class > OdGeCurve3d Methods > getSamplePoints Method > OdGeCurve3d::getSamplePoints Method (double, double, double, OdGePoint3dArray&, OdGeDoubleArray&, bool)
OdGeCurve3d::getSamplePoints Method (double, double, double, OdGePoint3dArray&, OdGeDoubleArray&, bool)
Syntax
C++
void getSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint3dArray& pointArray, OdGeDoubleArray& paramArray, bool forceResampling = false) const;
Parameters 
Description 
double fromParam 
[in] Starting parameter value.  
double toParam 
[in] Ending parameter value.  
double approxEps 
[in] Approximate spacing along a curve.  
OdGePoint3dArray& pointArray 
[out] Receives an array of sample points.  
OdGeDoubleArray& paramArray 
[out] Receives an array of parameters at each point.  
bool forceResampling = false 
[in] sample points are forced to be regenerated. 

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

 

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