The function points_on_square_grid_2 generates a given number of points on a square
grid whose size is determined by the number of points to be generated.
template <class OutputIterator, Creator creator>
creates the first points on the regular grid within the square
. Returns the value of after inserting
- Creator must be a function object accepting two
double values and and returning an initialized point
(x,y) of type P. Predefined implementations for these
creators like the default can be found in
- The OutputIterator must accept values of type P. If the
OutputIterator has a value_type the default
initializer of the creator can be used. P is set to
the value_type in this case.