API Reference > OdGe Classes > OdGeCurve3d Class > OdGeCurve3d Methods > getSamplePoints Method > OdGeCurve3d::getSamplePoints Method (OdGeInterval*, double, OdGePoint3dArray&, OdGeDoubleArray*)
OdGeCurve3d::getSamplePoints Method (OdGeInterval*, double, OdGePoint3dArray&, OdGeDoubleArray*)
Syntax
C++
void getSamplePoints(const OdGeInterval* paramInterval, double approxEps, OdGePoint3dArray& pointArray, OdGeDoubleArray* pParamArray = NULL) const;
Parameters 
Description 
const OdGeInterval* paramInterval 
[in] Pointer to the parametric interval.  
double approxEps 
[in] Approximate spacing along a curve.  
OdGePoint3dArray& pointArray 
[out] Receives an array of sample points.  
OdGeDoubleArray* pParamArray = NULL 
[out] (Optional) Receives an array of parameters at each point. 

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

 

If paramInterval is null, the current curve interval will be used.

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