Share

AcGeCurve3d::getSamplePoints

C++

GE_DLLEXPIMPORT void getSamplePoints(
    int numSample, 
    AcGePoint3dArray& pointArray
) const;

Description

Returns the specified number of points on the curve. 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

Links

AcGeCurve3d

Was this information helpful?