C++
GE_DLLEXPIMPORT void getSamplePoints( int numSample, AcGePoint3dArray& pointArray, AcGeDoubleArray& paramArray ) const;
Description
Returns the specified number of points on the curve as well as sample points. The points are equally spaced by parameter value. So if the interval of the curve [0,1] and numSample is 5, the parameter values of the returned points are 0, 0.25, 0.5, 0.75, and 1.
Parameters
Parameters | Description |
---|---|
numSample | Input number of points that are to be returned. |
pointArray | Output array of sampled points. |
paramArray | Output array of parameter values on the curve corresponding to the resulting sample points. |