// Construct an output array to hold the points
std::vector < Point3 > points ( n_points );
// Get the limits of the evaluator to determine the delta parameter,
// and to inquire the parameter at which to start the iteration
Interval interval = evaluator.askLimits ( );
double delta = interval.askLength ( ) / ( n_points - 1 );
// Iterate to get all the points
int indx;
double param;
for ( indx = 0, param = interval.getStart ( );
indx < n_points;
indx++, param += delta )
{
// Evaluate the point at the parameter and store the point in the output array.
points [ indx ] = evaluator.evaluatePoint ( param );
}