[doc][examples][num_segments] use an open polygon instead of a closed one;
call also num_segments with the second (optional) argument set to true;